-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement a virtio balloon device driver #660
Comments
saw this on the minios mailing list just now https://lists.xenproject.org/archives/html/minios-devel/2019-12/msg00215.html |
Sorry to comment on an old issue, but it seemed appropriate: is the virtio-balloon device supported w/ firecracker? If so, how does one use it? I've configured my firecracker to use a balloon device, however if I try to PATCH it (change the size of the balloon), I get an error:
Config: {
"boot-source": {
"kernel_image_path": "/home/jerome/.ops/0.1.52/kernel.img",
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off random.trust_cpu=on"
},
"drives": [
{
"drive_id": "rootfs",
"path_on_host": "/home/jerome/.ops/images/app",
"is_root_device": true,
"is_read_only": false
}
],
"network-interfaces": [
{
"iface_id": "eth0",
"guest_mac": "AA:FC:00:00:00:01",
"host_dev_name": "tap0"
}
],
"machine-config": {
"vcpu_count": 1,
"mem_size_mib": 512
},
"balloon": {
"amount_mib": 0,
"deflate_on_oom": false,
"stats_polling_interval_s": 1
},
"logger": {
"log_path": "logs.fifo",
"level": "Debug"
},
"metrics": {
"metrics_path": "metrics.fifo"
},
"vsock": {
"guest_cid": 3,
"uds_path": "./v.sock"
}
} |
Nanos currently supports virtio-balloon devices only when wired to the PCI bus; Firecracker doesn't have PCI, so its virtio-balloon devices are not PCI devices (they are most likely accessed via MMIO) and therefore not currently supported. |
#2081 adds support for the virtio-balloon device in Firecracker. |
We have the means to reclaim freed/unused physical pages, so make them accessible to the virtio balloon device so that they become available for other VMs.
The text was updated successfully, but these errors were encountered: