[DragonFlyBSD - Submit #3146] [WIP/RFC] Virtio Memory Balloon

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Oct 15 04:33:33 PDT 2018


Issue #3146 has been updated by ddegroot.


When testing with qemu:
host-side: 
- add "-balloon virtio" to the qemu guest command-line, to provide a PCI Balloon interface to the guest.
- make sure you have access to the monitor interface (either through virsh, serial, pipe etc) (see: "-monitor" switch)

guest-side:
Load driver
- kldload virtio_balloon
Increase debug level
- sysctl dev.vtballoon.0.debug_level=0x7

Inflating the balloon to 96 Mb on my 4096Mb Guest (4096->4000)
host side (monitor interface):
> balloon 4000
> info balloon

or host side (using virsh):
> qemu-monitor-command --domain xxxxx --hmp 'balloon 4000'
> qemu-monitor-command --domain xxxxx --hmp 'info balloon'
> qemu-monitor-command --domain xxxxx '{ "execute": "qom-get",  "arguments": { "path": "/machine/peripheral/balloon0",  "property": "guest-stats" } }'

----------------------------------------
Submit #3146: [WIP/RFC] Virtio Memory Balloon
http://bugs.dragonflybsd.org/issues/3146#change-13495

* Author: ddegroot
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: Latest stable
----------------------------------------
Ported the FreeBSD Virtio Memory Balloon Driver. Looking like some review/comment/testing.

---Files--------------------------------
0001-Initial-checking-fbsd-virtio_balloon.patch (21.7 KB)
0002-Adapt-to-DragonFlyBSD.patch (24.6 KB)
0003-Do-not-use-VM_ALLOC_INTERRUPT.-Add-better-inflate-de.patch (3.11 KB)
0004-Adding-virtio-balloon-statistics.patch (17.6 KB)
0005-Fix-KASSERT-issue-Reported-by-Tuxillo.patch (1.49 KB)
0006-Add-extra-debug-flag.patch (2.22 KB)
0007-Don-t-collect-stats-when-initialially-loaded-Reporte.patch (2.39 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Submit mailing list