[elbe-devel] [PATCH v2 0/5] initvm device cleanup

Holger Dengler holger at hdengler.de
Thu Jun 23 08:07:10 CEST 2022


Hi Bastian,

On 22.06.22 09:09, Bastian Germann wrote:
> This is a follow-up on "initvm: Remove cirrus vga device".
> It was reported that it did not make initvm creation work on sid.
> This is the second try (Define NIC's PCI bus slot) and contains
> some more patches for the initvm devices.

I did a quick test yesterday and it still fails with the this series. The error message:

[  414.105925] reboot: Restarting system
qemu-img create -f qcow2 -F qcow2 -b initvm-base.img initvm.img
Formatting 'initvm.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589936
libvirt: QEMU Driver error : internal error: qemu unexpectedly closed the monitor: 2022-06-22T07:45:54.)
Traceback (most recent call last):
  File "/home/holger/git/elbe/elbe/elbe", line 60, in <module>
    cmdmod.run_command(sys.argv[2:])
  File "/home/holger/git/elbe/elbe/elbepack/commands/initvm.py", line 96, in run_command
    action.execute(directory, opt, args[1:])
  File "/home/holger/git/elbe/elbe/elbepack/initvmaction.py", line 166, in execute
    self.initvm.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2022-06-22T07:45:54.906919Z)
Starting the initvm Failed
Giving up

> 
> Bastian Germann (5):
>   initvm: Remove cirrus vga device
>   initvm: always use machine type pc
>   initvm: Remove USB controller
>   initvm: Define NIC's PCI bus slot
>   initvm: Use virtio bus for keyboard and mouse
> 
>  elbepack/commands/init.py      |  1 -
>  elbepack/init/libvirt.xml.mako | 12 ++++--------
>  2 files changed, 4 insertions(+), 9 deletions(-)
> 

-- 
Gruß,
Holger Dengler
--
holger at hdengler.de


More information about the elbe-devel mailing list