VM Konfig mismatches when -readconfig option is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm |
New
|
Undecided
|
Unassigned |
Bug Description
Since qemu is able to write / read config files, i thought it might be cool to use this.
BUT:
qemu allways adds an default network interface, when i use the -readconfig option.
Till now, i start my VM like this (all variables are defined and working well in this script)
/opt/bin/
-m 512M \
-vga vmware \
-name ${VMname} \
-display sdl,window_
-machine q35,accel=kvm -enable-kvm \
-drive file=./
-drive file="$
-boot menu=on,once=d \
-net nic,vlan=
-net user,vlan=
-usbdevice tablet \
-balloon virtio \
-net nic,vlan=
-net vde,vlan=
-rtc base=utc,clock=host \
-writeconfig ./${VMname}.qemu
the monitor tells me:
QEMU 2.2.90 monitor - type 'help' for more information
(qemu) info network
hub 238
\ hub238port1: VLANintern: index=0,
\ hub238port0: virtio-net-pci.1: index=0,
hub 0
\ hub0port1: VLANextern: index=0,
\ hub0port0: virtio-net-pci.0: index=0,
which is perfectly correct.
and now the result for qemu-system-x86_64 -readconfig ./${VMname}.qemu:
QEMU 2.2.90 monitor - type 'help' for more information
(qemu) info network
hub 238
\ hub238port1: VLANintern: index=0,
\ hub238port0: virtio-net-pci.1: index=0,
hub 0
\ hub0port3: user.1: index=0,
\ hub0port2: e1000.0: index=0,
\ hub0port1: VLANextern: index=0,
\ hub0port0: virtio-net-pci.0: index=0,
Is it a bug or just misconfigured?
Thanks in advance.
BorneBjoern