提交 9bdb93b6 编写于 作者: L Lukáš Doktor 提交者: Lucas Meneghel Rodrigues

virttest.qemu_devices: Add qemu_devices and use it for qemu VM

This patch modifies the way how qemu_command is created. Instead
of long string it creates a representation of devices, which behaves
similarily to qemu's qdev.

Current implementation is very limited and only handles PCI bus. All
devices are created as simple StringDevices so the benefit might
not be obvious. But later patches adds specific devices (usb, image,
...) and their specific behaviour.

Additionally this patch adds the basic support for q35 machine.

Later the support for automatic check of running VM and representation
will be added.

NOTE: This version's pci addresses are not assigned properly as
      upstream currently uses different method. Following patch
      removes the original mechanism and uses the one from this patch.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 db18f074
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册