mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
bc18373391
There is no keyboard support currently in libvirt. For some platforms (PPC64 QEMU) this makes graphics unusable, since the keyboard is not implicit and it can't be added via libvirt. Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
<domain type='xen'>
|
|
<name>XenGuest2</name>
|
|
<uuid>c7a5fdb2-cdaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>592896</memory>
|
|
<currentMemory unit='KiB'>403456</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='i686' machine='xenfv'>hvm</type>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev='cdrom'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<pae/>
|
|
</features>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy'/>
|
|
<source dev='/dev/HostVG/XenGuest2'/>
|
|
<target dev='hda' bus='ide'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='file'/>
|
|
<source file='/root/boot.iso'/>
|
|
<target dev='hdc' bus='ide'/>
|
|
<readonly/>
|
|
</disk>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:66:92:9c'/>
|
|
<source bridge='xenbr1'/>
|
|
<script path='vif-bridge'/>
|
|
<model type='e1000'/>
|
|
</interface>
|
|
<serial type='udp'>
|
|
<source mode='bind' host='0.0.0.0' service='99998'/>
|
|
<source mode='connect' host='127.0.0.1' service='9999'/>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='udp'>
|
|
<source mode='bind' host='0.0.0.0' service='99998'/>
|
|
<source mode='connect' host='127.0.0.1' service='9999'/>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
|
|
<listen type='address' address='127.0.0.1'/>
|
|
</graphics>
|
|
</devices>
|
|
</domain>
|