mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
dd354e8b72
Wire up guest.convert_to_q35 to the CLI. We add one suboptions, `num_pcie_root_ports=X`, matching the pre-existing `--controller num_pcie_root_ports=X` option Nothing fancy here. See man page docs for details Signed-off-by: Cole Robinson <crobinso@redhat.com>
73 lines
2.8 KiB
XML
73 lines
2.8 KiB
XML
<currentMemory unit="KiB">4194304</currentMemory>
|
|
<vcpu placement="static">2</vcpu>
|
|
<os>
|
|
- <type arch="x86_64" machine="pc-i440fx-8.2">hvm</type>
|
|
+ <type arch="x86_64" machine="q35">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<devices>
|
|
@@
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="raw"/>
|
|
<source file="/my/fake/disk"/>
|
|
- <target dev="hda" bus="ide"/>
|
|
- <address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
|
+ <target dev="sda" bus="sata"/>
|
|
</disk>
|
|
- <controller type="usb" index="0" model="qemu-xhci" ports="15">
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
|
|
- </controller>
|
|
- <controller type="pci" index="0" model="pci-root"/>
|
|
- <controller type="ide" index="0">
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
|
|
- </controller>
|
|
- <controller type="virtio-serial" index="0">
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
|
|
- </controller>
|
|
+ <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
|
|
+ <controller type="virtio-serial" index="0"/>
|
|
<interface type="network">
|
|
<mac address="52:54:00:0f:b2:90"/>
|
|
<source network="default"/>
|
|
- <model type="e1000"/>
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
|
|
+ <model type="e1000e"/>
|
|
</interface>
|
|
<serial type="pty">
|
|
<target type="isa-serial" port="0">
|
|
@@
|
|
<listen type="address"/>
|
|
<image compression="off"/>
|
|
</graphics>
|
|
- <sound model="ich6">
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
|
|
- </sound>
|
|
+ <sound model="ich9"/>
|
|
<audio id="1" type="spice"/>
|
|
<video>
|
|
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
|
|
</video>
|
|
<redirdev bus="usb" type="spicevmc">
|
|
<address type="usb" bus="0" port="2"/>
|
|
@@
|
|
<redirdev bus="usb" type="spicevmc">
|
|
<address type="usb" bus="0" port="3"/>
|
|
</redirdev>
|
|
- <memballoon model="virtio">
|
|
- <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
|
|
- </memballoon>
|
|
+ <memballoon model="virtio"/>
|
|
+ <controller type="pci" model="pcie-root"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
+ <controller type="pci" model="pcie-root-port"/>
|
|
</devices>
|
|
</domain>
|
|
|
|
Domain 'convert-me' defined successfully.
|