QEMU removed the -balloon option (qemu commit 1d9cb42c56547 "Remove
the deprecated -balloon option"). Actually quite a long time ago, in
2018. Replace it in the qemu script code.
Reported-by: Ming Xie
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2074805
---
output/output_qemu.ml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/output/output_qemu.ml b/output/output_qemu.ml
index f8d2e171f7..4e0a3de6f0 100644
--- a/output/output_qemu.ml
+++ b/output/output_qemu.ml
@@ -289,9 +289,7 @@ module QEMU = struct
arg_list "-device" ["virtio-rng-pci"; "rng=rng0"];
);
if guestcaps.gcaps_virtio_balloon then
- arg "-balloon" "virtio"
- else
- arg "-balloon" "none";
+ arg "-device" "virtio-balloon";
if guestcaps.gcaps_isa_pvpanic then
arg_list "-device" ["pvpanic"; "ioport=0x505"];
if guestcaps.gcaps_virtio_socket then
--
2.35.1