mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Add -no-virtio-balloon command-line option
This new option may be used to disable the virtio-balloon device. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
6693665ace
commit
df97b92060
4 changed files with 15 additions and 1 deletions
4
vl.c
4
vl.c
|
@ -244,6 +244,7 @@ int smp_cpus = 1;
|
|||
const char *vnc_display;
|
||||
int acpi_enabled = 1;
|
||||
int no_hpet = 0;
|
||||
int no_virtio_balloon = 0;
|
||||
int fd_bootchk = 1;
|
||||
int no_reboot = 0;
|
||||
int no_shutdown = 0;
|
||||
|
@ -5551,6 +5552,9 @@ int main(int argc, char **argv, char **envp)
|
|||
case QEMU_OPTION_no_hpet:
|
||||
no_hpet = 1;
|
||||
break;
|
||||
case QEMU_OPTION_no_virtio_balloon:
|
||||
no_virtio_balloon = 1;
|
||||
break;
|
||||
#endif
|
||||
case QEMU_OPTION_no_reboot:
|
||||
no_reboot = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue