mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
tests: Use minimal hardware for firmware tests
When testing firmware selection, we don't really care about any of the hardware assigned to the VM, and in fact it's better to keep it as minimal as possible to make sure that the focus remains on the firmware bits. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
f29a8bcef1
commit
53cdfd7994
@ -26,17 +26,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedora/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-global ICH9-LPC.disable_s3=0 \
|
-boot strict=on \
|
||||||
-global ICH9-LPC.disable_s4=1 \
|
|
||||||
-boot menu=on,strict=on \
|
|
||||||
-device '{"driver":"i82801b11-bridge","id":"pci.1","bus":"pcie.0","addr":"0x1e"}' \
|
|
||||||
-device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.1","addr":"0x0"}' \
|
|
||||||
-device '{"driver":"ioh3420","port":8,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x1d.0x7"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x1d"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x1d.0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x1d.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.2","addr":"0x1"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,67 +2,18 @@
|
|||||||
<name>fedora</name>
|
<name>fedora</name>
|
||||||
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
||||||
<memory unit='KiB'>8192</memory>
|
<memory unit='KiB'>8192</memory>
|
||||||
<currentMemory unit='KiB'>8192</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='bios'>
|
<os firmware='bios'>
|
||||||
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
||||||
<loader secure='no'/>
|
<loader secure='no'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
<memballoon model='none'/>
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -16,7 +16,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-aarch64test/.config \
|
|||||||
-blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
|
-blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
|
||||||
-machine virt-4.0,usb=off,dump-guest-core=off,gic-version=2,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=mach-virt.ram \
|
-machine virt-4.0,usb=off,dump-guest-core=off,gic-version=2,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=mach-virt.ram \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu cortex-a53 \
|
-cpu cortex-a15 \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
-object '{"qom-type":"memory-backend-ram","id":"mach-virt.ram","size":1073741824}' \
|
-object '{"qom-type":"memory-backend-ram","id":"mach-virt.ram","size":1073741824}' \
|
||||||
-overcommit mem-lock=off \
|
-overcommit mem-lock=off \
|
||||||
@ -30,10 +30,6 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-aarch64test/.config \
|
|||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot strict=on \
|
-boot strict=on \
|
||||||
-kernel /aarch64.kernel \
|
|
||||||
-initrd /aarch64.initrd \
|
|
||||||
-append 'earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait' \
|
|
||||||
-dtb /aarch64.dtb \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,30 +2,16 @@
|
|||||||
<name>aarch64test</name>
|
<name>aarch64test</name>
|
||||||
<uuid>496d7ea8-9739-544b-4ebd-ef08be936e8b</uuid>
|
<uuid>496d7ea8-9739-544b-4ebd-ef08be936e8b</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='efi'>
|
<os firmware='efi'>
|
||||||
<type arch='aarch64' machine='virt-4.0'>hvm</type>
|
<type arch='aarch64' machine='virt-4.0'>hvm</type>
|
||||||
<kernel>/aarch64.kernel</kernel>
|
|
||||||
<initrd>/aarch64.initrd</initrd>
|
|
||||||
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
||||||
<dtb>/aarch64.dtb</dtb>
|
|
||||||
<boot dev='hd'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
<gic version='2'/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
|
||||||
<model fallback='allow'>cortex-a53</model>
|
|
||||||
</cpu>
|
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -30,17 +30,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedora/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-global ICH9-LPC.disable_s3=0 \
|
-boot strict=on \
|
||||||
-global ICH9-LPC.disable_s4=1 \
|
|
||||||
-boot menu=on,strict=on \
|
|
||||||
-device '{"driver":"i82801b11-bridge","id":"pci.1","bus":"pcie.0","addr":"0x1e"}' \
|
|
||||||
-device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.1","addr":"0x0"}' \
|
|
||||||
-device '{"driver":"ioh3420","port":8,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x1d.0x7"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x1d"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x1d.0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x1d.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.2","addr":"0x1"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,67 +2,18 @@
|
|||||||
<name>fedora</name>
|
<name>fedora</name>
|
||||||
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
||||||
<memory unit='KiB'>8192</memory>
|
<memory unit='KiB'>8192</memory>
|
||||||
<currentMemory unit='KiB'>8192</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='efi'>
|
<os firmware='efi'>
|
||||||
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
||||||
<loader secure='yes'/>
|
<loader secure='yes'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
<memballoon model='none'/>
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -30,9 +30,6 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedora/.config \
|
|||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"pcie-root-port","port":8,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x1"}' \
|
|
||||||
-device '{"driver":"pcie-root-port","port":9,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x1.0x1"}' \
|
|
||||||
-device '{"driver":"qemu-xhci","id":"usb","bus":"pci.1","addr":"0x0"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,49 +2,19 @@
|
|||||||
<name>fedora</name>
|
<name>fedora</name>
|
||||||
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
||||||
<memory unit='KiB'>8192</memory>
|
<memory unit='KiB'>8192</memory>
|
||||||
<currentMemory unit='KiB'>8192</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='efi'>
|
<os firmware='efi'>
|
||||||
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
||||||
<firmware>
|
<firmware>
|
||||||
<feature enabled='no' name='enrolled-keys'/>
|
<feature enabled='no' name='enrolled-keys'/>
|
||||||
</firmware>
|
</firmware>
|
||||||
<boot dev='hd'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
|
||||||
<model fallback='forbid'>qemu64</model>
|
|
||||||
</cpu>
|
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>destroy</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
<controller type='usb' model='none'/>
|
||||||
<controller type='pci' index='1' model='pcie-root-port'>
|
|
||||||
<model name='pcie-root-port'/>
|
|
||||||
<target chassis='1' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pcie-root-port'>
|
|
||||||
<model name='pcie-root-port'/>
|
|
||||||
<target chassis='2' port='0x9'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='qemu-xhci'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<audio id='1' type='none'/>
|
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -29,17 +29,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-fedora/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-global ICH9-LPC.disable_s3=0 \
|
-boot strict=on \
|
||||||
-global ICH9-LPC.disable_s4=1 \
|
|
||||||
-boot menu=on,strict=on \
|
|
||||||
-device '{"driver":"i82801b11-bridge","id":"pci.1","bus":"pcie.0","addr":"0x1e"}' \
|
|
||||||
-device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.1","addr":"0x0"}' \
|
|
||||||
-device '{"driver":"ioh3420","port":8,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x1d.0x7"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x1d"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x1d.0x1"}' \
|
|
||||||
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x1d.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.2","addr":"0x1"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,67 +2,18 @@
|
|||||||
<name>fedora</name>
|
<name>fedora</name>
|
||||||
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
||||||
<memory unit='KiB'>8192</memory>
|
<memory unit='KiB'>8192</memory>
|
||||||
<currentMemory unit='KiB'>8192</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='efi'>
|
<os firmware='efi'>
|
||||||
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
||||||
<loader secure='no'/>
|
<loader secure='no'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
<memballoon model='none'/>
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -27,13 +27,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-blockdev '{"driver":"host_device","filename":"/dev/HostVG/QEMUGuest1","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
|
|
||||||
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw","file":"libvirt-1-storage"}' \
|
|
||||||
-device '{"driver":"ide-hd","bus":"ide.0","unit":0,"drive":"libvirt-1-format","id":"ide0-0-0","bootindex":1}' \
|
|
||||||
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,34 +2,17 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
<loader type='pflash'>/var/lib/libvirt/qemu/nvram/test-bios.fd</loader>
|
<loader type='pflash'>/var/lib/libvirt/qemu/nvram/test-bios.fd</loader>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' model='none'/>
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
<memballoon model='none'/>
|
||||||
<target dev='hda' bus='ide'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='usb' index='0'/>
|
|
||||||
<controller type='ide' index='0'/>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
|
||||||
<input type='tablet' bus='usb'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'/>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -27,13 +27,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-blockdev '{"driver":"host_device","filename":"/dev/HostVG/QEMUGuest1","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
|
|
||||||
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw","file":"libvirt-1-storage"}' \
|
|
||||||
-device '{"driver":"ide-hd","bus":"ide.0","unit":0,"drive":"libvirt-1-format","id":"ide0-0-0","bootindex":1}' \
|
|
||||||
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,34 +2,17 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
<loader readonly='no' type='pflash'>/var/lib/libvirt/qemu/nvram/test-bios.fd</loader>
|
<loader readonly='no' type='pflash'>/var/lib/libvirt/qemu/nvram/test-bios.fd</loader>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' model='none'/>
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
<memballoon model='none'/>
|
||||||
<target dev='hda' bus='ide'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='usb' index='0'/>
|
|
||||||
<controller type='ide' index='0'/>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
|
||||||
<input type='tablet' bus='usb'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'/>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -11,7 +11,7 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-name guest=test-bios,debug-threads=on \
|
-name guest=test-bios,debug-threads=on \
|
||||||
-S \
|
-S \
|
||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-test-bios/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-test-bios/master-key.aes \
|
||||||
-machine pc,usb=off,dump-guest-core=off,graphics=off \
|
-machine pc,usb=off,dump-guest-core=off \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-bios /usr/share/seabios/bios.bin \
|
-bios /usr/share/seabios/bios.bin \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
@ -26,12 +26,5 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-no-acpi \
|
-no-acpi \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-usb \
|
|
||||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
|
||||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
|
||||||
-chardev pty,id=charserial0 \
|
|
||||||
-device isa-serial,chardev=charserial0,id=serial0,index=0 \
|
|
||||||
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
|
||||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,36 +2,14 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='i686' machine='pc'>hvm</type>
|
<type arch='i686' machine='pc'>hvm</type>
|
||||||
<loader>/usr/share/seabios/bios.bin</loader>
|
<loader>/usr/share/seabios/bios.bin</loader>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
<bios useserial='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-i386</emulator>
|
<emulator>/usr/bin/qemu-system-i386</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' model='none'/>
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
<memballoon model='none'/>
|
||||||
<target dev='hda' bus='ide'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='usb' index='0'/>
|
|
||||||
<controller type='ide' index='0'/>
|
|
||||||
<serial type='pty'>
|
|
||||||
<target port='0'/>
|
|
||||||
</serial>
|
|
||||||
<console type='pty'>
|
|
||||||
<target type='serial' port='0'/>
|
|
||||||
</console>
|
|
||||||
<input type='tablet' bus='usb'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'/>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu cortex-a57 \
|
|
||||||
-drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
-drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
||||||
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
|
@ -11,11 +11,9 @@
|
|||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>cortex-a57</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine q35,usb=off,dump-guest-core=off \
|
-machine q35,usb=off,dump-guest-core=off \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu Haswell \
|
|
||||||
-drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
-drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
||||||
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
|
@ -11,11 +11,9 @@
|
|||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>Haswell</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -2,18 +2,17 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
<loader readonly='yes' type='pflash'/>
|
<loader readonly='yes' type='pflash'/>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu cortex-a57 \
|
|
||||||
-drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
-drive file=/usr/share/AAVMF/AAVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
|
||||||
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
-drive file=/some/user/nvram/path/guest_VARS.fd,if=pflash,format=raw,unit=1 \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
|
@ -8,11 +8,9 @@
|
|||||||
<loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd</loader>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
</os>
|
</os>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>cortex-a57</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -8,11 +8,9 @@
|
|||||||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
</os>
|
</os>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>Haswell</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -29,9 +29,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
@ -10,14 +9,13 @@
|
|||||||
<nvram type='file'>
|
<nvram type='file'>
|
||||||
<source file='/var/lib/libvirt/nvram/guest_VARS.fd'/>
|
<source file='/var/lib/libvirt/nvram/guest_VARS.fd'/>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -30,9 +30,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
@ -15,17 +14,13 @@
|
|||||||
</auth>
|
</auth>
|
||||||
</source>
|
</source>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -29,9 +29,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
@ -12,17 +11,13 @@
|
|||||||
<host name='example.org' port='6000'/>
|
<host name='example.org' port='6000'/>
|
||||||
</source>
|
</source>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -29,9 +29,7 @@ XDG_CONFIG_HOME=/tmp/lib/domain--1-test-bios/.config \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device '{"driver":"piix3-usb-uhci","id":"usb","bus":"pci.0","addr":"0x1.0x2"}' \
|
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \
|
|
||||||
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,20 +2,18 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||||
<nvram template="/usr/share/OVMF/OVMF_VARS.fd"/>
|
<nvram template="/usr/share/OVMF/OVMF_VARS.fd"/>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -27,12 +27,5 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \
|
|
||||||
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x0 \
|
|
||||||
-device ioh3420,port=8,chassis=3,id=pci.3,bus=pcie.0,addr=0x1 \
|
|
||||||
-device virtio-scsi-pci,id=scsi0,bus=pci.2,addr=0x1 \
|
|
||||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-scsi0-0-0-0 \
|
|
||||||
-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 \
|
|
||||||
-device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x2 \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,34 +2,19 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='q35'>hvm</type>
|
<type arch='x86_64' machine='q35'>hvm</type>
|
||||||
<loader readonly='yes' secure='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.secboot.fd</loader>
|
<loader readonly='yes' secure='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.secboot.fd</loader>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<smm state='on'/>
|
<smm state='on'/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' model='none'/>
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
<memballoon model='none'/>
|
||||||
<target dev='sda' bus='scsi'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='scsi' index='0'/>
|
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'/>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -26,10 +26,5 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-mon chardev=charmonitor,id=monitor,mode=control \
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot menu=on,strict=on \
|
-boot strict=on \
|
||||||
-usb \
|
|
||||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
|
||||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
|
||||||
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
|
||||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -2,35 +2,18 @@
|
|||||||
<name>test-bios</name>
|
<name>test-bios</name>
|
||||||
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
<uuid>362d1fc1-df7d-193e-5c18-49a71bd1da66</uuid>
|
||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='pc'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' model='none'/>
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
<memballoon model='none'/>
|
||||||
<target dev='hda' bus='ide'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='usb' index='0'/>
|
|
||||||
<controller type='ide' index='0'/>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
|
||||||
<input type='tablet' bus='usb'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<input type='keyboard' bus='ps2'/>
|
|
||||||
<memballoon model='virtio'/>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -5,18 +5,13 @@
|
|||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='aarch64' machine='virt'>hvm</type>
|
<type arch='aarch64' machine='virt'>hvm</type>
|
||||||
<kernel>/var/lib/libvirt/images/guest.vmlinuz</kernel>
|
|
||||||
<initrd>/var/lib/libvirt/images/guest.initramfs</initrd>
|
|
||||||
<cmdline>console=ttyAMA0 rw root=/dev/vda rootwait</cmdline>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>cortex-a57</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine q35,usb=off,dump-guest-core=off \
|
-machine q35,usb=off,dump-guest-core=off \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu Haswell \
|
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
-overcommit mem-lock=off \
|
-overcommit mem-lock=off \
|
||||||
-smp 1,sockets=1,cores=1,threads=1 \
|
-smp 1,sockets=1,cores=1,threads=1 \
|
||||||
@ -26,7 +25,4 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-rtc base=utc \
|
-rtc base=utc \
|
||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-boot strict=on \
|
-boot strict=on \
|
||||||
-kernel /var/lib/libvirt/images/guest.vmlinuz \
|
|
||||||
-initrd /var/lib/libvirt/images/guest.initramfs \
|
|
||||||
-append 'rw root=/dev/vda rootwait' \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -5,18 +5,13 @@
|
|||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='q35'>hvm</type>
|
<type arch='x86_64' machine='q35'>hvm</type>
|
||||||
<kernel>/var/lib/libvirt/images/guest.vmlinuz</kernel>
|
|
||||||
<initrd>/var/lib/libvirt/images/guest.initramfs</initrd>
|
|
||||||
<cmdline>rw root=/dev/vda rootwait</cmdline>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>Haswell</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
-machine virt,usb=off,dump-guest-core=off,gic-version=2 \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu cortex-a57 \
|
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
-overcommit mem-lock=off \
|
-overcommit mem-lock=off \
|
||||||
-smp 1,sockets=1,cores=1,threads=1 \
|
-smp 1,sockets=1,cores=1,threads=1 \
|
||||||
@ -27,7 +26,4 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-no-acpi \
|
-no-acpi \
|
||||||
-boot strict=on \
|
-boot strict=on \
|
||||||
-kernel /var/lib/libvirt/images/guest.vmlinuz \
|
|
||||||
-initrd /var/lib/libvirt/images/guest.initramfs \
|
|
||||||
-append 'console=ttyAMA0 rw root=/dev/vda rootwait' \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -5,15 +5,10 @@
|
|||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='aarch64' machine='virt'>hvm</type>
|
<type arch='aarch64' machine='virt'>hvm</type>
|
||||||
<kernel>/var/lib/libvirt/images/guest.vmlinuz</kernel>
|
|
||||||
<initrd>/var/lib/libvirt/images/guest.initramfs</initrd>
|
|
||||||
<cmdline>console=ttyAMA0 rw root=/dev/vda rootwait</cmdline>
|
|
||||||
</os>
|
</os>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>cortex-a57</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-guest/master-key.aes \
|
||||||
-machine q35,usb=off,dump-guest-core=off \
|
-machine q35,usb=off,dump-guest-core=off \
|
||||||
-accel tcg \
|
-accel tcg \
|
||||||
-cpu Haswell \
|
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
-overcommit mem-lock=off \
|
-overcommit mem-lock=off \
|
||||||
-smp 1,sockets=1,cores=1,threads=1 \
|
-smp 1,sockets=1,cores=1,threads=1 \
|
||||||
@ -27,7 +26,4 @@ QEMU_AUDIO_DRV=none \
|
|||||||
-no-shutdown \
|
-no-shutdown \
|
||||||
-no-acpi \
|
-no-acpi \
|
||||||
-boot strict=on \
|
-boot strict=on \
|
||||||
-kernel /var/lib/libvirt/images/guest.vmlinuz \
|
|
||||||
-initrd /var/lib/libvirt/images/guest.initramfs \
|
|
||||||
-append 'rw root=/dev/vda rootwait' \
|
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
||||||
|
@ -5,15 +5,10 @@
|
|||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine='q35'>hvm</type>
|
<type arch='x86_64' machine='q35'>hvm</type>
|
||||||
<kernel>/var/lib/libvirt/images/guest.vmlinuz</kernel>
|
|
||||||
<initrd>/var/lib/libvirt/images/guest.initramfs</initrd>
|
|
||||||
<cmdline>rw root=/dev/vda rootwait</cmdline>
|
|
||||||
</os>
|
</os>
|
||||||
<cpu mode='custom'>
|
|
||||||
<model>Haswell</model>
|
|
||||||
</cpu>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' model='none'/>
|
||||||
<memballoon model='none'/>
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -9,12 +9,9 @@
|
|||||||
<loader secure='no'/>
|
<loader secure='no'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
<cpu mode='custom' match='exact' check='none'>
|
||||||
<model fallback='forbid'>qemu64</model>
|
<model fallback='forbid'>qemu64</model>
|
||||||
@ -22,51 +19,17 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
<controller type='sata' index='0'>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
</controller>
|
</controller>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -6,28 +6,24 @@
|
|||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os firmware='efi'>
|
<os firmware='efi'>
|
||||||
<type arch='aarch64' machine='virt-4.0'>hvm</type>
|
<type arch='aarch64' machine='virt-4.0'>hvm</type>
|
||||||
<kernel>/aarch64.kernel</kernel>
|
|
||||||
<initrd>/aarch64.initrd</initrd>
|
|
||||||
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
||||||
<dtb>/aarch64.dtb</dtb>
|
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
<gic version='2'/>
|
<gic version='2'/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
<cpu mode='custom' match='exact' check='none'>
|
||||||
<model fallback='allow'>cortex-a53</model>
|
<model fallback='forbid'>cortex-a15</model>
|
||||||
</cpu>
|
</cpu>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||||
|
<controller type='usb' index='0' model='none'/>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -9,12 +9,9 @@
|
|||||||
<loader secure='yes'/>
|
<loader secure='yes'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
<cpu mode='custom' match='exact' check='none'>
|
||||||
<model fallback='forbid'>qemu64</model>
|
<model fallback='forbid'>qemu64</model>
|
||||||
@ -22,51 +19,17 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
<controller type='sata' index='0'>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
</controller>
|
</controller>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../qemuxml2argvdata/firmware-auto-efi-no-enrolled-keys.xml
|
|
@ -0,0 +1,36 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>fedora</name>
|
||||||
|
<uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid>
|
||||||
|
<memory unit='KiB'>8192</memory>
|
||||||
|
<currentMemory unit='KiB'>8192</currentMemory>
|
||||||
|
<vcpu placement='static'>1</vcpu>
|
||||||
|
<os firmware='efi'>
|
||||||
|
<type arch='x86_64' machine='pc-q35-4.0'>hvm</type>
|
||||||
|
<firmware>
|
||||||
|
<feature enabled='no' name='enrolled-keys'/>
|
||||||
|
</firmware>
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<features>
|
||||||
|
<acpi/>
|
||||||
|
</features>
|
||||||
|
<cpu mode='custom' match='exact' check='none'>
|
||||||
|
<model fallback='forbid'>qemu64</model>
|
||||||
|
</cpu>
|
||||||
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
|
<devices>
|
||||||
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
|
<controller type='usb' index='0' model='none'/>
|
||||||
|
<controller type='sata' index='0'>
|
||||||
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
|
</controller>
|
||||||
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<input type='keyboard' bus='ps2'/>
|
||||||
|
<audio id='1' type='none'/>
|
||||||
|
<memballoon model='none'/>
|
||||||
|
</devices>
|
||||||
|
</domain>
|
@ -9,12 +9,9 @@
|
|||||||
<loader secure='no'/>
|
<loader secure='no'/>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
|
||||||
<pae/>
|
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='custom' match='exact' check='none'>
|
<cpu mode='custom' match='exact' check='none'>
|
||||||
<model fallback='forbid'>qemu64</model>
|
<model fallback='forbid'>qemu64</model>
|
||||||
@ -22,51 +19,17 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<pm>
|
|
||||||
<suspend-to-mem enabled='yes'/>
|
|
||||||
<suspend-to-disk enabled='no'/>
|
|
||||||
</pm>
|
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='ich9-ehci1'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci1'>
|
|
||||||
<master startport='0'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci2'>
|
|
||||||
<master startport='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='usb' index='0' model='ich9-uhci3'>
|
|
||||||
<master startport='4'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='sata' index='0'>
|
<controller type='sata' index='0'>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
|
||||||
</controller>
|
</controller>
|
||||||
<controller type='pci' index='0' model='pcie-root'/>
|
<controller type='pci' index='0' model='pcie-root'/>
|
||||||
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
|
|
||||||
<model name='i82801b11-bridge'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='2' model='pci-bridge'>
|
|
||||||
<model name='pci-bridge'/>
|
|
||||||
<target chassisNr='2'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='3' model='pcie-root-port'>
|
|
||||||
<model name='ioh3420'/>
|
|
||||||
<target chassis='3' port='0x8'/>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
|
|
||||||
</controller>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<source file='/var/lib/libvirt/nvram/guest_VARS.fd'/>
|
<source file='/var/lib/libvirt/nvram/guest_VARS.fd'/>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
@ -25,15 +24,11 @@
|
|||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='piix3-uhci'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
</source>
|
</source>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
@ -27,18 +26,14 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='piix3-uhci'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
</source>
|
</source>
|
||||||
</nvram>
|
</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
@ -24,18 +23,14 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<controller type='usb' index='0' model='piix3-uhci'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
|
||||||
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
<nvram>/some/user/nvram/path/guest_VARS.fd</nvram>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
<bootmenu enable='yes'/>
|
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
@ -17,28 +16,14 @@
|
|||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<disk type='block' device='disk'>
|
<controller type='usb' index='0' model='none'/>
|
||||||
<driver name='qemu' type='raw'/>
|
|
||||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
|
||||||
<target dev='hda' bus='ide'/>
|
|
||||||
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
||||||
</disk>
|
|
||||||
<controller type='usb' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='ide' index='0'>
|
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<controller type='pci' index='0' model='pci-root'/>
|
<controller type='pci' index='0' model='pci-root'/>
|
||||||
<input type='tablet' bus='usb'/>
|
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<input type='keyboard' bus='ps2'/>
|
<input type='keyboard' bus='ps2'/>
|
||||||
<audio id='1' type='none'/>
|
<audio id='1' type='none'/>
|
||||||
<memballoon model='virtio'>
|
<memballoon model='none'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
||||||
</memballoon>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
Loading…
Reference in New Issue
Block a user