Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [srestha@localhost virt-manager]$ ./virt-install --name "foobar" --os-variant fedora29 --unattend profile=desktop --debug --print-xml --dry-run
- [Sun, 14 Apr 2019 10:24:32 virt-install 13313] DEBUG (cli:204) Launched with command line: ./virt-install --name foobar --os-variant fedora29 --unattend profile=desktop --debug --print-xml --dry-run
- [Sun, 14 Apr 2019 10:24:32 virt-install 13313] DEBUG (virt-install:238) Distilled --network options: ['default']
- [Sun, 14 Apr 2019 10:24:32 virt-install 13313] DEBUG (virt-install:159) Distilled --disk options: []
- [Sun, 14 Apr 2019 10:24:32 virt-install 13313] DEBUG (cli:218) Requesting libvirt URI default
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (cli:221) Received libvirt URI qemu:///session
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (guest:385) Setting Guest osinfo <_OsVariant name=fedora29>
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (virt-install:462) Generated default libosinfo '--location https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os'
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (urlfetcher:35) Using scratchdir=/home/srestha/.cache/virt-manager/boot
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (urldetect:281) Finding distro store for location=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (urldetect:859) variant=fedora29 has distro=fedora, looking for matching distro store to prioritize
- [Sun, 14 Apr 2019 10:24:33 virt-install 13313] DEBUG (urldetect:866) Prioritizing distro store=<class 'virtinst.urldetect._FedoraDistro'>
- [Sun, 14 Apr 2019 10:24:36 virt-install 13313] DEBUG (connectionpool:823) Starting new HTTPS connection (1): download.fedoraproject.org:443
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo HTTP/1.1" 302 0
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (connectionpool:205) Starting new HTTP connection (1): mirror.cse.iitk.ac.in:80
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo HTTP/1.1" 200 1557
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/.treeinfo
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (urldetect:71) treeinfo family=Fedora
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (urldetect:75) Found treeinfo version=29
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (urldetect:79) Found treeinfo name=Fedora 29
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (urldetect:295) Detected class=_LibosinfoDistro osvariant=fedora29
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (installer:338) installer.detect_distro returned=fedora29
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (virt-install:532) Generated default libosinfo '--disk size=20'
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (storage:195) Attempting to build default pool with target '/home/srestha/.local/share/libvirt/images'
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (storage:477) Creating storage pool 'default' with xml:
- <pool type="dir">
- <name>default</name>
- <target>
- <path>/home/srestha/.local/share/libvirt/images</path>
- </target>
- </pool>
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (disk:282) Creating volume 'foobar.qcow2' on pool 'default'
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (disk:408) disk.set_vol_install: name=foobar.qcow2 poolxml=
- <pool type='dir'>
- <name>default</name>
- <uuid>1b6dacbd-44fd-4049-b9bd-f305e8b63788</uuid>
- <capacity unit='bytes'>43051499520</capacity>
- <allocation unit='bytes'>632410112</allocation>
- <available unit='bytes'>42419089408</available>
- <source>
- </source>
- <target>
- <path>/home/srestha/.local/share/libvirt/images</path>
- <permissions>
- <mode>0775</mode>
- <owner>1000</owner>
- <group>1000</group>
- <label>unconfined_u:object_r:svirt_home_t:s0</label>
- </permissions>
- </target>
- </pool>
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (graphics:235) Using default_graphics=spice
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (graphics:246) Local connection, disabling spice image compression.
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (osdict:592) Install script found for profile 'desktop'
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:184) Using 'initrd' injection method
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:206) Using 'network' installation source
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:122) InstallScriptConfig created with the following params:
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:123) username: srestha
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:124) realname: Srestha Srivastava
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:125) user password:
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:126) admin password:
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:127) target disk: /dev/vda
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:128) hardware arch: x86_64
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:129) hostname: foobar
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:130) timezone: America/New_York
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:131) language: en_US
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:132) keyboard: en_US
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:134) url: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (unattended:135) product-key: None
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (installertreemedia:191) Generated unattended cmdline: ks=file:/fedora.ks
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (installertreemedia:192) Generated unattended script: /home/srestha/.cache/virt-manager/unattended/fedora.ks
- [Sun, 14 Apr 2019 10:24:38 virt-install 13313] DEBUG (installertreemedia:194) Generated script contents:
- # Install script for fedora29 profile desktop
- keyboard 'us'
- lang en_US
- network --onboot yes --bootproto dhcp --noipv6 --hostname=foobar
- rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
- firewall --disabled
- authselect select sssd
- timezone --utc America/New_York
- bootloader --location=mbr
- zerombr
- clearpart --all --drives=/dev/vda
- firstboot --disable
- autopart
- reboot
- repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
- repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
- url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
- %packages
- @standard
- @epiphany
- @firefox
- @multimedia
- @core
- @hardware-support
- @base-x
- @gnome-desktop
- # QXL driver and SPICE vdagent
- xorg-x11-drv-qxl
- spice-vdagent
- spice-webdavd
- qemu-guest-agent
- %end
- %post --erroronfail
- useradd -G wheel srestha # Add user
- if test -z ''; then
- passwd -d srestha # Make user account passwordless
- else
- echo '' |passwd --stdin srestha
- fi
- if test -z ''; then
- passwd -d root # Make root account passwordless
- else
- echo '' |passwd --stdin root
- fi
- # Set user avatar
- if test -n ''; then
- mkdir /mnt/unattended-media
- mount /mnt/unattended-media
- cp /mnt/unattended-media /var/lib/AccountsService/icons/srestha
- umount /mnt/unattended-media
- fi
- echo "
- [User]
- Language=
- XSession=
- Icon=/var/lib/AccountsService/icons/srestha
- " >> /var/lib/AccountsService/users/srestha
- # Enable autologin
- echo "[daemon]
- AutomaticLoginEnable=true
- AutomaticLogin=srestha
- [security]
- [xdmcp]
- [greeter]
- [chooser]
- [debug]
- " > /etc/gdm/custom.conf
- %end
- [Sun, 14 Apr 2019 10:24:39 virt-install 13313] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "HEAD /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 302 0
- [Sun, 14 Apr 2019 10:24:39 virt-install 13313] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "HEAD /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 0
- [Sun, 14 Apr 2019 10:24:39 virt-install 13313] DEBUG (urlfetcher:137) hasFile(https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz) returning True
- [Sun, 14 Apr 2019 10:24:39 virt-install 13313] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "HEAD /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 302 0
- [Sun, 14 Apr 2019 10:24:40 virt-install 13313] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "HEAD /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 200 0
- [Sun, 14 Apr 2019 10:24:40 virt-install 13313] DEBUG (urlfetcher:137) hasFile(https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img) returning True
- [Sun, 14 Apr 2019 10:24:40 virt-install 13313] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 302 0
- [Sun, 14 Apr 2019 10:24:40 virt-install 13313] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 8618168
- [Sun, 14 Apr 2019 10:24:40 virt-install 13313] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/vmlinuz
- [Sun, 14 Apr 2019 10:24:43 virt-install 13313] DEBUG (urlfetcher:157) Saved file to /home/srestha/.cache/virt-manager/boot/virtinst-vmlinuz.a8f7gbsq
- [Sun, 14 Apr 2019 10:24:43 virt-install 13313] DEBUG (connectionpool:393) https://download.fedoraproject.org:443 "GET /pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 302 0
- [Sun, 14 Apr 2019 10:24:43 virt-install 13313] DEBUG (connectionpool:393) http://mirror.cse.iitk.ac.in:80 "GET /fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img HTTP/1.1" 200 65644032
- [Sun, 14 Apr 2019 10:24:43 virt-install 13313] DEBUG (urlfetcher:67) Fetching URI: https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os/images/pxeboot/initrd.img
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (urlfetcher:157) Saved file to /home/srestha/.cache/virt-manager/boot/virtinst-initrd.img.qc4ncnwk
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (initrdinject:25) Copying /home/srestha/.cache/virt-manager/unattended/fedora.ks to the initrd.
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (initrdinject:28) Appending to the initrd.
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (kernelupload:120) Have access to preferred scratchdir so nothing to upload
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (installer:385) Generated install XML:
- <domain type="kvm">
- <name>foobar</name>
- <uuid>6773531e-03e8-41f2-acf0-18c622a085ef</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <kernel>/home/srestha/.cache/virt-manager/boot/virtinst-vmlinuz.a8f7gbsq</kernel>
- <initrd>/home/srestha/.cache/virt-manager/boot/virtinst-initrd.img.qc4ncnwk</initrd>
- <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <on_reboot>destroy</on_reboot>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-kvm</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/home/srestha/.local/share/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="user">
- <mac address="52:54:00:ba:09:32"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (installer:386) Generated boot XML:
- <domain type="kvm">
- <name>foobar</name>
- <uuid>6773531e-03e8-41f2-acf0-18c622a085ef</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <boot dev="hd"/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-kvm</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/home/srestha/.local/share/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="user">
- <mac address="52:54:00:ba:09:32"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (installertreemedia:212) Removing /home/srestha/.cache/virt-manager/unattended/fedora.ks
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (installertreemedia:212) Removing /home/srestha/.cache/virt-manager/boot/virtinst-vmlinuz.a8f7gbsq
- [Sun, 14 Apr 2019 10:25:34 virt-install 13313] DEBUG (installertreemedia:212) Removing /home/srestha/.cache/virt-manager/boot/virtinst-initrd.img.qc4ncnwk
- <domain type="kvm">
- <name>foobar</name>
- <uuid>6773531e-03e8-41f2-acf0-18c622a085ef</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <kernel>/home/srestha/.cache/virt-manager/boot/virtinst-vmlinuz.a8f7gbsq</kernel>
- <initrd>/home/srestha/.cache/virt-manager/boot/virtinst-initrd.img.qc4ncnwk</initrd>
- <cmdline>ks=file:/fedora.ks inst.repo=https://download.fedoraproject.org/pub/fedora/linux/releases/29/Workstation/x86_64/os</cmdline>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <on_reboot>destroy</on_reboot>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-kvm</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/home/srestha/.local/share/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="user">
- <mac address="52:54:00:ba:09:32"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- <domain type="kvm">
- <name>foobar</name>
- <uuid>6773531e-03e8-41f2-acf0-18c622a085ef</uuid>
- <metadata>
- <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
- <libosinfo:os id="http://fedoraproject.org/fedora/29"/>
- </libosinfo:libosinfo>
- </metadata>
- <memory>2097152</memory>
- <currentMemory>2097152</currentMemory>
- <vcpu>1</vcpu>
- <os>
- <type arch="x86_64" machine="q35">hvm</type>
- <boot dev="hd"/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <vmport state="off"/>
- </features>
- <cpu mode="host-model"/>
- <clock offset="utc">
- <timer name="rtc" tickpolicy="catchup"/>
- <timer name="pit" tickpolicy="delay"/>
- <timer name="hpet" present="no"/>
- </clock>
- <pm>
- <suspend-to-mem enabled="no"/>
- <suspend-to-disk enabled="no"/>
- </pm>
- <devices>
- <emulator>/usr/bin/qemu-kvm</emulator>
- <disk type="file" device="disk">
- <driver name="qemu" type="qcow2"/>
- <source file="/home/srestha/.local/share/libvirt/images/foobar.qcow2"/>
- <target dev="vda" bus="virtio"/>
- </disk>
- <controller type="usb" index="0" model="qemu-xhci" ports="15"/>
- <interface type="user">
- <mac address="52:54:00:ba:09:32"/>
- <model type="virtio"/>
- </interface>
- <console type="pty"/>
- <channel type="unix">
- <source mode="bind"/>
- <target type="virtio" name="org.qemu.guest_agent.0"/>
- </channel>
- <channel type="spicevmc">
- <target type="virtio" name="com.redhat.spice.0"/>
- </channel>
- <input type="tablet" bus="usb"/>
- <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
- <image compression="off"/>
- </graphics>
- <sound model="ich9"/>
- <video>
- <model type="qxl"/>
- </video>
- <redirdev bus="usb" type="spicevmc"/>
- <redirdev bus="usb" type="spicevmc"/>
- <rng model="virtio">
- <backend model="random">/dev/urandom</backend>
- </rng>
- </devices>
- </domain>
- [srestha@localhost virt-manager]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement