https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198344
Bug ID: 198344 Summary: [virtio] virtio-balloon does not work Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: jan.he...@taujhe.de I am running FreeBSD in a Linux/KVM environment with the -balloon virtio flag passed to qemu. The virtio-balloon kernel module gets loaded: jan@vm03 ~ $ kldstat -v | grep virtio 460 virtio_pci/virtio_scsi 459 virtio_pci/virtio_balloon 458 virtio_pci/virtio_blk 457 virtio_pci/vtnet 456 pci/virtio_pci 455 virtio But there is no ballooning at all. The VM allocates all the memory up to the specified maximum from the host, no matter how much memory is actually in use inside FreeBSD. Expected result would be that the VM only allocates as much memory from the host as it actually uses right now. This works with Linux guests, but not FreeBSD ones. For reference the complete qemu command line: qemu-system-x86_64 -enable-kvm \ -cpu host \ -smp cores=4,threads=2 \-drive file=/var/kvm/disks/vm03.img,if=virtio \-net tap,ifname=tap_br1_3,script=no,downscript=no -net nic,model=virtio,macaddr=0e:77:77:0e:0e:03 \ -m 4G \ -balloon virtio \ -vga std \ -display vnc=:3 \ -monitor stdio \ -name "VM 03" \ -usbdevice tablet \ -k de -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"