Add virtio-balloon

This commit is contained in:
Martin Wimpress 2020-03-21 02:28:14 +00:00
parent f910141889
commit 5b01d18492
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -246,8 +246,9 @@ function vm_boot() {
-enable-kvm \ -enable-kvm \
-machine q35,accel=kvm \ -machine q35,accel=kvm \
-cpu host,kvm=on \ -cpu host,kvm=on \
-m ${ram} \
-smp ${cores} \ -smp ${cores} \
-m ${ram} \
-device virtio-balloon \
-netdev ${NET},id=nic \ -netdev ${NET},id=nic \
-device virtio-net,netdev=nic \ -device virtio-net,netdev=nic \
-rtc base=localtime,clock=host \ -rtc base=localtime,clock=host \