Page MenuHomeFreeBSD
Feed Advanced Search

Today

novel committed rG148111d3775e: bhyvectl: improve options error handling (authored by novel).
bhyvectl: improve options error handling
Sat, Dec 13, 9:30 AM
novel closed D54092: bhyvectl: improve options error handling.
Sat, Dec 13, 9:30 AM
novel committed rG611bbb190ff5: bhyve: change suspend exit code (authored by novel).
bhyve: change suspend exit code
Sat, Dec 13, 9:16 AM
novel closed D54087: bhyve: change suspend exit code.
Sat, Dec 13, 9:16 AM
novel committed R11:b25ae0aad393: security/libgpg-error: update to 1.58 (authored by novel).
security/libgpg-error: update to 1.58
Sat, Dec 13, 9:08 AM
novel committed R11:71e0f7e69c79: misc/osinfo-db: update to 20251212 (authored by novel).
misc/osinfo-db: update to 20251212
Sat, Dec 13, 7:31 AM
novel committed R11:61d04f908bf2: sysutils/virt-firmware: update to 25.12 (authored by novel).
sysutils/virt-firmware: update to 25.12
Sat, Dec 13, 7:00 AM

Yesterday

novel added a comment to D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

Actually, the slirp backend has a fixed MTU. We should either update it to handle a configured size, or make it an error to specify the MTU.

Thanks, I'll try to see if I could add MTU configuration for SLIRP.

Cool! Search for uses of SLIRP_MTU, they all need to be updated.

I have updated this revision with these changes. It works fine for me with MTU values from 1476 to 4096 (didn't test larger), but for lower values it fails with:

Assertion failed: ((size_t)n <= priv->mtu), function slirp_recv, file /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/net_backend_slirp.c, line 238.

I'll debug it further, but now I'm not sure: currently I do not validate the MTU value range in the SLIRP backend assuming it's already validated on the device side (e.g. in pci_virtio_net.c). Now I wonder if the backend might have stricter requirements for MTU than the device, should the backend implement its own validation on top of the device side validation?

Do you have commit 69f61cee2efb1eec0640ca7de9b2d51599569a5d commit applied to the host kernel?

Yes, I have commit 69f61cee2efb1eec0640ca7de9b2d51599569a5d (and also commit 82d8a5029a80a77166dca098b8fedb10d84e4e38 which appears to be a follow up of the former) included in the host kernel.

In the meantime, I was giving it some more testing and noticed another issues:

While running wget https://download.freebsd.org/releases/ISO-IMAGES/15.0/FreeBSD-15.0-RELEASE-arm64-aarch64-dvd1.iso -O /dev/null, somewhere half way it fails with:

`#1 0x000000080114c934 in raise (s=s@entry=6) at /usr/home/novel/code/freebsd-src/lib/libc/gen/raise.c:48
#2 0x00000008011fe7a9 in abort () at /usr/home/novel/code/freebsd-src/lib/libc/stdlib/abort.c:61
#3 0x000000080112f521 in
assert (func=<optimized out>, file=<optimized out>, line=line@entry=115, failedexpr=<optimized out>) at /usr/home/novel/code/freebsd-src/lib/libc/gen/assert.c:47
#4 0x000000000102500b in slirp_cb_send_packet (buf=<optimized out>, len=1514, param=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:115
#5 0x000000080141ad02 in ?? () from /usr/local/lib/libslirp.so.0
#6 0x0000000801412f7d in ?? () from /usr/local/lib/libslirp.so.0
#7 0x0000000801416366 in ?? () from /usr/local/lib/libslirp.so.0
#8 0x0000000801421197 in ?? () from /usr/local/lib/libslirp.so.0
#9 0x000000080141ef1a in ?? () from /usr/local/lib/libslirp.so.0
#10 0x0000000001024edd in slirp_pollfd_loop (priv=0x7fffffffe7e0) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:303
#11 main (argc=<optimized out>, argv=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:580
(gdb) fr 4
#4 0x000000000102500b in slirp_cb_send_packet (buf=<optimized out>, len=1514, param=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:115
115 assert((size_t)n == len);
(gdb) p n
$1 = 0
(gdb) `

That's with a fairly large mtu=4092. So it's probably a bug in my code, not a kernel issue.

Fri, Dec 12, 6:33 PM
novel committed R11:29a64d9da1b4: security/libgpg-error: update to 1.57 (authored by novel).
security/libgpg-error: update to 1.57
Fri, Dec 12, 9:31 AM

Wed, Dec 10

novel added a comment to D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

Actually, the slirp backend has a fixed MTU. We should either update it to handle a configured size, or make it an error to specify the MTU.

Thanks, I'll try to see if I could add MTU configuration for SLIRP.

Cool! Search for uses of SLIRP_MTU, they all need to be updated.

I have updated this revision with these changes. It works fine for me with MTU values from 1476 to 4096 (didn't test larger), but for lower values it fails with:

Assertion failed: ((size_t)n <= priv->mtu), function slirp_recv, file /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/net_backend_slirp.c, line 238.

I'll debug it further, but now I'm not sure: currently I do not validate the MTU value range in the SLIRP backend assuming it's already validated on the device side (e.g. in pci_virtio_net.c). Now I wonder if the backend might have stricter requirements for MTU than the device, should the backend implement its own validation on top of the device side validation?

Do you have commit 69f61cee2efb1eec0640ca7de9b2d51599569a5d commit applied to the host kernel?

Wed, Dec 10, 7:33 PM
novel added a comment to D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

An ng_device(4) is not an interface, so it does not have a MAC address. The way I see it, it is just a wire. If you think about a tap(4), it's like an ng_eiface(4) linked to a ng_device. But the MAC address belongs to the ng_eiface end, not the ng_device one.

For the MTU it might be a bit different because the ng_device could maybe impose a limit on to the size it could transport, but in any case there is currently no code allowing the user to configure it. The ioctls are not implemented.

Wed, Dec 10, 7:26 PM
novel updated the diff for D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.
  • bhyve.8: Drop ngdN related changes
  • net_backend_slirp, slirp-helper: move buf to struct slirp_priv
  • net_backend_slirp: remove assert from slirp_peek_recvlen()
  • slirp-helper: update assert in slirp_cb_send_packet()
Wed, Dec 10, 7:18 PM

Tue, Dec 9

novel added a comment to D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

Actually, the slirp backend has a fixed MTU. We should either update it to handle a configured size, or make it an error to specify the MTU.

Thanks, I'll try to see if I could add MTU configuration for SLIRP.

Cool! Search for uses of SLIRP_MTU, they all need to be updated.

Tue, Dec 9, 7:23 PM
novel updated the diff for D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

Update the SLIRP backend to respect MTU configuration.

Tue, Dec 9, 7:14 PM
novel added a comment to D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.

Actually, the slirp backend has a fixed MTU. We should either update it to handle a configured size, or make it an error to specify the MTU.

Tue, Dec 9, 3:55 PM

Mon, Dec 8

novel requested review of D54133: bhyve.8: mention MAC and MTU config for ngd and slirp.
Mon, Dec 8, 5:43 PM

Fri, Dec 5

novel requested review of D54092: bhyvectl: improve options error handling.
Fri, Dec 5, 7:09 PM
novel requested review of D54087: bhyve: change suspend exit code.
Fri, Dec 5, 5:21 PM
novel committed R11:4088a5c645d3: devel/libvirt: update to 11.10.0 (authored by novel).
devel/libvirt: update to 11.10.0
Fri, Dec 5, 5:03 PM

Thu, Dec 4

novel committed R11:d7cbaaa4f1a7: security/vuxml: add entry for libvirt vulnerabilities (authored by novel).
security/vuxml: add entry for libvirt vulnerabilities
Thu, Dec 4, 7:29 PM
novel committed R11:45b7bb10a50e: devel/p5-Sys-Virt: update to 11.10.0 (authored by novel).
devel/p5-Sys-Virt: update to 11.10.0
Thu, Dec 4, 6:08 PM
novel committed R11:a215c0a8aecd: devel/py-libvirt: update to 11.10.0 (authored by novel).
devel/py-libvirt: update to 11.10.0
Thu, Dec 4, 5:12 PM
novel committed R11:16adc595b008: devel/libvirt: update to 11.10.0 (authored by novel).
devel/libvirt: update to 11.10.0
Thu, Dec 4, 5:12 PM

Tue, Dec 2

novel committed R11:62d8b1999233: www/qutebrowser: update to 3.6.3 (authored by novel).
www/qutebrowser: update to 3.6.3
Tue, Dec 2, 5:02 PM

Sun, Nov 30

novel committed R11:8199c72ecf72: www/qutebrowser: update to 3.6.2 (authored by novel).
www/qutebrowser: update to 3.6.2
Sun, Nov 30, 7:57 AM

Nov 9 2025

novel committed R11:3125aec4c74a: devel/p5-Sys-Virt: update to 11.8.0 (authored by novel).
devel/p5-Sys-Virt: update to 11.8.0
Nov 9 2025, 8:13 AM
novel committed R11:0a9322223f19: www/qutebrowser: update to 3.6.1 (authored by novel).
www/qutebrowser: update to 3.6.1
Nov 9 2025, 6:30 AM

Nov 7 2025

novel committed R11:a7c489b9cc09: devel/py-libvirt: update to 11.9.0 (authored by novel).
devel/py-libvirt: update to 11.9.0
Nov 7 2025, 7:46 PM
novel committed R11:4ab47787b88a: devel/libvirt: update to 11.9.0 (authored by novel).
devel/libvirt: update to 11.9.0
Nov 7 2025, 7:46 PM

Oct 27 2025

novel committed R11:687c68682d58: sysutils/virt-firmware: new port (authored by novel).
sysutils/virt-firmware: new port
Oct 27 2025, 7:09 PM

Oct 26 2025

novel committed R11:96a751b5efce: www/qutebrowser: update to 3.6.0 (authored by novel).
www/qutebrowser: update to 3.6.0
Oct 26 2025, 6:20 AM

Oct 20 2025

novel added a watcher for bhyve: novel.
Oct 20 2025, 10:03 AM

Oct 19 2025

novel committed R11:8d1defa4bf66: devel/py-avocado-framework: update to 112.0 (authored by novel).
devel/py-avocado-framework: update to 112.0
Oct 19 2025, 4:58 AM

Oct 15 2025

novel added a comment to D29708: bhyve: Add virtio modern support handling.

I was looking into getting virtio-input working for Linux guests which apparently do not support legacy virtio input devices.

Oct 15 2025, 5:49 PM
novel committed R11:0bb60de10894: mail/msmtp: update to 1.8.32 (authored by novel).
mail/msmtp: update to 1.8.32
Oct 15 2025, 4:53 PM

Oct 8 2025

novel committed R11:36c91bb6ed55: security/libgpg-error: update to 1.56 (authored by novel).
security/libgpg-error: update to 1.56
Oct 8 2025, 4:20 PM
novel committed R11:d35e9f4f1513: audio/mpg123: update to 1.33.3 (authored by novel).
audio/mpg123: update to 1.33.3
Oct 8 2025, 10:52 AM

Oct 2 2025

novel committed R11:5400de63f783: devel/py-libvirt: update to 11.8.0 (authored by novel).
devel/py-libvirt: update to 11.8.0
Oct 2 2025, 4:12 AM
novel committed R11:5db0a694f04d: devel/libvirt: update to 11.8.0 (authored by novel).
devel/libvirt: update to 11.8.0
Oct 2 2025, 4:12 AM

Sep 25 2025

novel committed R11:673bba332eb3: security/p11-kit: update to 0.25.10 (authored by novel).
security/p11-kit: update to 0.25.10
Sep 25 2025, 8:48 AM

Sep 19 2025

novel committed R11:df5e8bef530f: security/p11-kit: chase distfile re-roll (authored by novel).
security/p11-kit: chase distfile re-roll
Sep 19 2025, 5:11 PM
novel committed R11:c87f37b95bae: security/p11-kit: update to 0.25.9 (authored by novel).
security/p11-kit: update to 0.25.9
Sep 19 2025, 2:14 PM

Sep 13 2025

novel committed R11:a3ba810f3bbf: security/p11-kit: update to 0.25.8 (authored by novel).
security/p11-kit: update to 0.25.8
Sep 13 2025, 11:13 AM

Sep 12 2025

novel committed R11:9233a7520c87: security/p11-kit: update to 0.25.7 (authored by novel).
security/p11-kit: update to 0.25.7
Sep 12 2025, 9:14 AM

Sep 7 2025

novel committed R11:0e542bc3ca16: mail/msmtp: update to 1.8.31 (authored by novel).
mail/msmtp: update to 1.8.31
Sep 7 2025, 11:50 AM

Sep 1 2025

novel committed R11:1cc096ab4d5c: devel/py-libvirt: update to 11.7.0 (authored by novel).
devel/py-libvirt: update to 11.7.0
Sep 1 2025, 2:44 PM
novel committed R11:3be35c6e2f6b: devel/libvirt: update to 11.7.0 (authored by novel).
devel/libvirt: update to 11.7.0
Sep 1 2025, 2:44 PM

Aug 31 2025

novel committed R11:f9a95ddae0f3: devel/p5-Sys-Virt: update to 11.6.0 (authored by novel).
devel/p5-Sys-Virt: update to 11.6.0
Aug 31 2025, 8:48 AM

Aug 26 2025

novel committed R11:a25699431907: deskutils/virt-manager: update to 5.1.0 (authored by novel).
deskutils/virt-manager: update to 5.1.0
Aug 26 2025, 4:02 PM

Aug 7 2025

novel committed R11:ad52e5ee4886: audio/mpg123: update to 1.33.2 (authored by novel).
audio/mpg123: update to 1.33.2
Aug 7 2025, 10:00 AM

Aug 1 2025

novel committed R11:e6d0a8586ce3: devel/py-libvirt: update to 11.6.0 (authored by novel).
devel/py-libvirt: update to 11.6.0
Aug 1 2025, 4:58 PM
novel committed R11:766fabda2f54: devel/libvirt: update to 11.6.0 (authored by novel).
devel/libvirt: update to 11.6.0
Aug 1 2025, 4:58 PM

Jul 28 2025

novel committed R11:aac0143891bd: audio/mpg123: update to 1.33.1 (authored by novel).
audio/mpg123: update to 1.33.1
Jul 28 2025, 4:20 PM

Jul 17 2025

novel committed R11:3d1459c4537c: devel/p5-Sys-Virt: update to 11.2.0 (authored by novel).
devel/p5-Sys-Virt: update to 11.2.0
Jul 17 2025, 6:04 PM

Jul 1 2025

novel committed R11:89d610a2f804: devel/py-libvirt: update to 11.5.0 (authored by novel).
devel/py-libvirt: update to 11.5.0
Jul 1 2025, 6:14 PM
novel committed R11:6ffc12e79b49: devel/libvirt: update to 11.5.0 (authored by novel).
devel/libvirt: update to 11.5.0
Jul 1 2025, 6:14 PM

Jun 13 2025

novel committed R11:f252cd5b7e2e: devel/py-avocado-framework: update to 111.0 (authored by novel).
devel/py-avocado-framework: update to 111.0
Jun 13 2025, 9:28 AM

Jun 8 2025

novel committed R11:c30f8dad2679: misc/osinfo-db: update to 20250606 (authored by novel).
misc/osinfo-db: update to 20250606
Jun 8 2025, 2:11 PM
novel committed R11:8cfe6f28d3b1: audio/mpg123: update to 1.33.0 (authored by novel).
audio/mpg123: update to 1.33.0
Jun 8 2025, 7:15 AM
novel committed R11:e2ad67fcf03b: www/qutebrowser: update to 3.5.1 (authored by novel).
www/qutebrowser: update to 3.5.1
Jun 8 2025, 6:11 AM

Jun 3 2025

novel committed R11:fb1af48c74da: mail/msmtp: update to 1.8.30 (authored by novel).
mail/msmtp: update to 1.8.30
Jun 3 2025, 6:13 PM
novel committed R11:c2b172778034: devel/py-libvirt: update to 11.4.0 (authored by novel).
devel/py-libvirt: update to 11.4.0
Jun 3 2025, 7:57 AM
novel committed R11:8702e10856a5: devel/libvirt: update to 11.4.0 (authored by novel).
devel/libvirt: update to 11.4.0
Jun 3 2025, 7:57 AM

Jun 1 2025

novel committed R11:98dd92432171: devel/py-avocado-framework: new port (authored by novel).
devel/py-avocado-framework: new port
Jun 1 2025, 4:30 AM

May 30 2025

novel committed R11:2318e9ad7166: mail/msmtp: update to 1.8.29 (authored by novel).
mail/msmtp: update to 1.8.29
May 30 2025, 2:38 PM

May 25 2025

novel committed R11:72631f97e805: deskutils/virt-manager: update to 5.0.0 (authored by novel).
deskutils/virt-manager: update to 5.0.0
May 25 2025, 5:42 AM

May 16 2025

novel committed R11:85120c35de59: net/py-pyzmq: return to the pool (authored by novel).
net/py-pyzmq: return to the pool
May 16 2025, 5:34 PM

May 8 2025

novel committed R11:0714dc98d298: devel/spice-protocol: update to 0.14.5 (authored by novel).
devel/spice-protocol: update to 0.14.5
May 8 2025, 4:36 PM

May 3 2025

novel committed R11:dbf985e24f5b: devel/py-libvirt: update to 11.3.0 (authored by novel).
devel/py-libvirt: update to 11.3.0
May 3 2025, 4:11 PM
novel committed R11:4e5714725e13: devel/libvirt: update to 11.3.0 (authored by novel).
devel/libvirt: update to 11.3.0
May 3 2025, 4:11 PM

Apr 27 2025

novel committed R11:5eb2e3a2b762: devel/py-libvirt: update LICENSE (authored by novel).
devel/py-libvirt: update LICENSE
Apr 27 2025, 5:16 AM

Apr 26 2025

novel committed R11:4e818898f6ff: sysutils/py-salt: unset DEPRECATED (authored by novel).
sysutils/py-salt: unset DEPRECATED
Apr 26 2025, 11:14 AM
novel committed R11:50ce7372c6e3: net/py-libcloud: un-deprecate (authored by novel).
net/py-libcloud: un-deprecate
Apr 26 2025, 9:45 AM

Apr 25 2025

novel committed R11:bc276df2e96a: security/libgpg-error: update to 1.55 (authored by novel).
security/libgpg-error: update to 1.55
Apr 25 2025, 6:38 PM

Apr 19 2025

novel committed R11:95ef243e2055: security/libgpg-error: update to 1.54 (authored by novel).
security/libgpg-error: update to 1.54
Apr 19 2025, 7:31 AM

Apr 18 2025

novel committed R11:1c219f16353f: devel/libosinfo: fix build with libxml2 2.24.1 (authored by novel).
devel/libosinfo: fix build with libxml2 2.24.1
Apr 18 2025, 8:38 AM

Apr 15 2025

novel committed R11:af01bb558665: www/qutebrowser: update to 3.5.0 (authored by novel).
www/qutebrowser: update to 3.5.0
Apr 15 2025, 2:49 PM

Apr 11 2025

novel committed R11:efd1fe183a50: security/libgpg-error: update to 1.53 (authored by novel).
security/libgpg-error: update to 1.53
Apr 11 2025, 8:21 AM

Apr 7 2025

novel committed R11:4b0e7ee50c58: devel/p5-Sys-Virt: update to 11.1.0 (authored by novel).
devel/p5-Sys-Virt: update to 11.1.0
Apr 7 2025, 5:57 PM

Apr 1 2025

novel committed R11:813cd77afcf0: devel/py-libvirt: update to 11.2.0 (authored by novel).
devel/py-libvirt: update to 11.2.0
Apr 1 2025, 4:16 PM
novel committed R11:a7c76ed052c5: devel/libvirt: update to 11.2.0 (authored by novel).
devel/libvirt: update to 11.2.0
Apr 1 2025, 4:16 PM

Mar 4 2025

novel committed R11:6901f0c5aa70: devel/py-libvirt: update to 11.1.0 (authored by novel).
devel/py-libvirt: update to 11.1.0
Mar 4 2025, 5:36 PM
novel committed R11:8e74d357f1cb: devel/libvirt: update to 11.1.0 (authored by novel).
devel/libvirt: update to 11.1.0
Mar 4 2025, 5:36 PM

Feb 9 2025

novel committed R11:eee8ab2070dc: security/libtasn1: Restore symbol versions (authored by tijl).
security/libtasn1: Restore symbol versions
Feb 9 2025, 6:43 AM

Feb 8 2025

novel committed R11:724fbb645a26: security/libtasn1: update to 4.20.0 (authored by novel).
security/libtasn1: update to 4.20.0
Feb 8 2025, 5:42 AM

Feb 7 2025

novel committed R11:41d3d59d0c48: security/libtasn1: update to 4.20.0 (authored by novel).
security/libtasn1: update to 4.20.0
Feb 7 2025, 6:46 PM

Jan 26 2025

novel committed R11:3de753301344: misc/osinfo-db: update to 20250124 (authored by novel).
misc/osinfo-db: update to 20250124
Jan 26 2025, 7:05 PM

Jan 24 2025

novel committed R11:de56148f4535: devel/py-libvirt: update to 11.0.0 (authored by novel).
devel/py-libvirt: update to 11.0.0
Jan 24 2025, 9:27 AM
novel committed R11:1714dd68193a: devel/libvirt: update to 11.0.0 (authored by novel).
devel/libvirt: update to 11.0.0
Jan 24 2025, 9:27 AM

Jan 14 2025

novel committed R11:12fcf0497618: mail/msmtp: update to 1.8.28 (authored by novel).
mail/msmtp: update to 1.8.28
Jan 14 2025, 3:49 PM
novel committed R11:6a719fcce852: www/qutebrowser: update to 3.4.0 (authored by novel).
www/qutebrowser: update to 3.4.0
Jan 14 2025, 1:57 PM

Jan 11 2025

novel committed R11:393360a9ae96: audio/mpg123: update to 1.32.10 (authored by novel).
audio/mpg123: update to 1.32.10
Jan 11 2025, 5:02 PM

Nov 9 2024

novel committed R11:fe7cdf9478d6: audio/mpg123: update to 1.32.9 (authored by novel).
audio/mpg123: update to 1.32.9
Nov 9 2024, 7:46 PM

Nov 2 2024

novel committed R11:e91df70e74f7: devel/py-libvirt: update to 10.9.0 (authored by novel).
devel/py-libvirt: update to 10.9.0
Nov 2 2024, 12:33 PM
novel committed R11:3b4dc85c0fda: devel/libvirt: update to 10.9.0 (authored by novel).
devel/libvirt: update to 10.9.0
Nov 2 2024, 12:33 PM
novel committed R11:140acd057f3c: devel/libosinfo: update to 1.12.0 (authored by novel).
devel/libosinfo: update to 1.12.0
Nov 2 2024, 6:26 AM
novel committed R11:53518aeea815: sysutils/osinfo-db-tools: update to 1.12.0 (authored by novel).
sysutils/osinfo-db-tools: update to 1.12.0
Nov 2 2024, 6:26 AM

Oct 29 2024

novel committed R11:01594c4e99f8: audio/mpg123: update to 1.32.8 (authored by novel).
audio/mpg123: update to 1.32.8
Oct 29 2024, 7:25 PM

Oct 20 2024

novel committed R11:53f584778e24: devel/rubygem-ruby-libvirt: update to 0.8.4 (authored by mew14930xvi <mew14930xvi@inbox.lv>).
devel/rubygem-ruby-libvirt: update to 0.8.4
Oct 20 2024, 12:34 PM

Oct 18 2024

novel committed R11:797020ad26ff: www/qutebrowser: update to 3.3.1 (authored by novel).
www/qutebrowser: update to 3.3.1
Oct 18 2024, 6:45 PM