Page MenuHomeFreeBSD
Feed Search

Tue, Jan 20

novel committed R11:ddecaf7f4416: security/p11-kit: update to 0.26.1.
Tue, Jan 20, 5:02 PM

Sat, Jan 17

novel committed R11:80a53cc6fe18: devel/p5-Sys-Virt: update to 12.0.0.
Sat, Jan 17, 6:32 PM
novel added a comment to D54720: mail/msmtp: remove ca_root_nss dep.

Thanks! Although I don't have a ports commit bit yet, so you'll have to do it :)

Sat, Jan 17, 5:22 PM
novel committed R11:744f2aee5a16: security/p11-kit: update to 0.26.0.
Sat, Jan 17, 11:53 AM
novel accepted D54720: mail/msmtp: remove ca_root_nss dep.

Thanks, feel free to merge!

Sat, Jan 17, 9:15 AM

Fri, Jan 16

novel committed R11:a2846809a90d: devel/py-libvirt: update to 12.0.0.
Fri, Jan 16, 9:56 AM
novel committed R11:dd091949c702: devel/libvirt: update to 12.0.0.
Fri, Jan 16, 9:56 AM

Thu, Jan 15

novel accepted D54720: mail/msmtp: remove ca_root_nss dep.

Looks good, a couple of minor questions.

Thu, Jan 15, 7:08 PM

Sun, Jan 11

novel committed R11:57fb9adb52de: security/vuxml: document libtasn1 vulnerability.
Sun, Jan 11, 3:36 PM
novel committed R11:eb18a9203a17: security/libtasn1: update to 4.21.0.
Sun, Jan 11, 10:13 AM

Thu, Jan 8

novel committed rG90b9a77ebeb8: bhyve: support MTU configuration for SLIRP net backend.
Thu, Jan 8, 5:10 PM
novel closed D54133: bhyve: support MTU configuration for SLIRP net backend.
Thu, Jan 8, 5:09 PM
novel retitled D54133: bhyve: support MTU configuration for SLIRP net backend from bhyve: support MTU configuration for SLIRP
Thu, Jan 8, 5:57 AM
novel retitled D54133: bhyve: support MTU configuration for SLIRP net backend from bhyve.8: mention MAC and MTU config for ngd and slirp to bhyve: support MTU configuration for SLIRP.
Thu, Jan 8, 5:56 AM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Fix ident.

Thu, Jan 8, 5:49 AM

Wed, Jan 7

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

Thanks, comments resolved.

Wed, Jan 7, 7:59 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

get_config_value_node(nvl, "mtu"); -> get_config_value_node(config, "mtu");

Wed, Jan 7, 7:59 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

s/SLIRP_MTU/DEFAULT_MTU/.

Wed, Jan 7, 7:11 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Drop unnecessary include.

Wed, Jan 7, 7:08 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Pass MTU to slirp-helper as an integer.

Wed, Jan 7, 7:06 PM
novel committed rG9fc7fe642757: bhyve: improve console error reporting on arm64.
Wed, Jan 7, 5:13 PM
novel closed D54504: bhyve: improve console error reporting on arm64.
Wed, Jan 7, 5:12 PM

Tue, Jan 6

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

We shouldn't modify the config tree in net_backend_slirp.c. Is there something else we can do?

Do you mean the nvlist_clone() part for setting vmname? If so, could that be passed as a part of argv to bhyve-slirp-helper?

Oh, I missed that we do that. In that case, can we please unconditionally pass along the MTU to the helper process so that it doesn't need to define a default?

Tue, Jan 6, 5:55 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Drop the DEFAULT_MTU constant from the SLIRP code:

Tue, Jan 6, 5:42 PM

Mon, Jan 5

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

We shouldn't modify the config tree in net_backend_slirp.c. Is there something else we can do?

Mon, Jan 5, 7:54 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.
  • SLIRP_MTU -> DEFAULT_MTU
  • unsigned long -> size_t for mtu values
  • move buf allocation before mevent_add_disabled(), update "err" cleanup routines to free() it
Mon, Jan 5, 6:26 PM

Sun, Jan 4

novel added a comment to D54504: bhyve: improve console error reporting on arm64.

Relatively simple way to trigger this error is to run kldunload nmdm and then run bhyve -c 1 -o bootrom=/usr/local/share/u-boot/u-boot-bhyve-arm64/u-boot.bin -o console=/dev/nmdmFoobarA test.

Sun, Jan 4, 2:17 PM
novel requested review of D54504: bhyve: improve console error reporting on arm64.
Sun, Jan 4, 2:14 PM
novel committed rGb35e955333ef: bhyvectl: improve options error handling.
Sun, Jan 4, 10:29 AM
novel committed rG3f649d1edfbe: bhyve: change suspend exit code.
Sun, Jan 4, 10:29 AM
novel committed rGa8fb6303b835: bhyvectl: improve options error handling.
Sun, Jan 4, 9:22 AM
novel committed rG894674da1400: bhyve: change suspend exit code.
Sun, Jan 4, 9:22 AM

Tue, Dec 30

novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Rebased on top of commit daef625cf884, works fine now.

Tue, Dec 30, 7:45 PM

Sun, Dec 28

novel committed R9:bdca54a1aaba: Status/2025Q4/libvirt.adoc: add report about libvirt.
Sun, Dec 28, 12:32 PM

Dec 24 2025

novel accepted D54340: bhyve: Use a blocking socket in the helper process.
Dec 24 2025, 5:29 PM

Dec 21 2025

novel committed R11:ff3411d03c1d: audio/mpg123: update to 1.33.4.
Dec 21 2025, 7:22 AM

Dec 13 2025

novel committed rG9d9974457ce8: bhyvectl: fix build without BHYVE_SNAPSHOT.
Dec 13 2025, 12:31 PM
novel committed rG148111d3775e: bhyvectl: improve options error handling.
Dec 13 2025, 9:30 AM
novel closed D54092: bhyvectl: improve options error handling.
Dec 13 2025, 9:30 AM
novel committed rG611bbb190ff5: bhyve: change suspend exit code.
Dec 13 2025, 9:16 AM
novel closed D54087: bhyve: change suspend exit code.
Dec 13 2025, 9:16 AM
novel committed R11:b25ae0aad393: security/libgpg-error: update to 1.58.
Dec 13 2025, 9:08 AM
novel committed R11:71e0f7e69c79: misc/osinfo-db: update to 20251212.
Dec 13 2025, 7:31 AM
novel committed R11:61d04f908bf2: sysutils/virt-firmware: update to 25.12.
Dec 13 2025, 7:00 AM

Dec 12 2025

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

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.

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

Dec 10 2025

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

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?

Dec 10 2025, 7:33 PM
novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

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.

Dec 10 2025, 7:26 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.
  • 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()
Dec 10 2025, 7:18 PM

Dec 9 2025

novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

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.

Dec 9 2025, 7:23 PM
novel updated the diff for D54133: bhyve: support MTU configuration for SLIRP net backend.

Update the SLIRP backend to respect MTU configuration.

Dec 9 2025, 7:14 PM
novel added a comment to D54133: bhyve: support MTU configuration for SLIRP net backend.

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.

Dec 9 2025, 3:55 PM

Dec 8 2025

novel requested review of D54133: bhyve: support MTU configuration for SLIRP net backend.
Dec 8 2025, 5:43 PM

Dec 5 2025

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

Dec 4 2025

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

Dec 2 2025

novel committed R11:62d8b1999233: www/qutebrowser: update to 3.6.3.
Dec 2 2025, 5:02 PM

Nov 30 2025

novel committed R11:8199c72ecf72: www/qutebrowser: update to 3.6.2.
Nov 30 2025, 7:57 AM

Nov 9 2025

novel committed R11:3125aec4c74a: 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.
Nov 9 2025, 6:30 AM

Nov 7 2025

novel committed R11:a7c489b9cc09: 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.
Nov 7 2025, 7:46 PM

Oct 27 2025

novel committed R11:687c68682d58: 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.
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.
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.
Oct 15 2025, 4:53 PM

Oct 8 2025

novel committed R11:36c91bb6ed55: security/libgpg-error: update to 1.56.
Oct 8 2025, 4:20 PM
novel committed R11:d35e9f4f1513: 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.
Oct 2 2025, 4:12 AM
novel committed R11:5db0a694f04d: 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.
Sep 25 2025, 8:48 AM

Sep 19 2025

novel committed R11:df5e8bef530f: 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.
Sep 19 2025, 2:14 PM

Sep 13 2025

novel committed R11:a3ba810f3bbf: 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.
Sep 12 2025, 9:14 AM

Sep 7 2025

novel committed R11:0e542bc3ca16: 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.
Sep 1 2025, 2:44 PM
novel committed R11:3be35c6e2f6b: 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.
Aug 31 2025, 8:48 AM

Aug 26 2025

novel committed R11:a25699431907: 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.
Aug 7 2025, 10:00 AM

Aug 1 2025

novel committed R11:e6d0a8586ce3: 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.
Aug 1 2025, 4:58 PM

Jul 28 2025

novel committed R11:aac0143891bd: 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.
Jul 17 2025, 6:04 PM

Jul 1 2025

novel committed R11:89d610a2f804: 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.
Jul 1 2025, 6:14 PM

Jun 13 2025

novel committed R11:f252cd5b7e2e: 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.
Jun 8 2025, 2:11 PM
novel committed R11:8cfe6f28d3b1: audio/mpg123: update to 1.33.0.
Jun 8 2025, 7:15 AM
novel committed R11:e2ad67fcf03b: 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.
Jun 3 2025, 6:13 PM
novel committed R11:c2b172778034: 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.
Jun 3 2025, 7:57 AM