qemuhotplug-base-live+disk-usb.xml 1.9 KB
Newer Older
1
<domain type='kvm' id='7'>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  <name>hotplug</name>
  <uuid>d091ea82-29e6-2e34-3005-f02617b36e87</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
21
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
22 23 24
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/dev/null'/>
25
      <backingStore/>
26 27 28
      <target dev='sdq' bus='usb'/>
      <readonly/>
      <shareable/>
29
      <alias name='usb-disk16'/>
30
      <address type='usb' bus='0' port='1'/>
31 32
    </disk>
    <controller type='usb' index='0'>
33
      <alias name='usb'/>
34 35 36
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='ide' index='0'>
37
      <alias name='ide'/>
38 39 40
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='scsi' index='0' model='virtio-scsi'>
41
      <alias name='scsi0'/>
42 43
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </controller>
44 45 46
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci'/>
    </controller>
47
    <controller type='virtio-serial' index='0'>
48
      <alias name='virtio-serial0'/>
49 50
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
51 52 53 54 55 56 57 58 59
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <memballoon model='none'>
      <alias name='balloon0'/>
    </memballoon>
60
  </devices>
61
  <seclabel type='none' model='none'/>
62
</domain>