conf: Add keyboard input device type

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>
This commit is contained in:
Li Zhang 2014-02-17 18:17:53 +08:00 committed by Ján Tomko
parent f608a713f6
commit bc18373391
91 changed files with 120 additions and 14 deletions

View File

@ -3269,6 +3269,7 @@
<choice> <choice>
<value>tablet</value> <value>tablet</value>
<value>mouse</value> <value>mouse</value>
<value>keyboard</value>
</choice> </choice>
</attribute> </attribute>
<optional> <optional>

View File

@ -507,7 +507,8 @@ VIR_ENUM_IMPL(virDomainVideo, VIR_DOMAIN_VIDEO_TYPE_LAST,
VIR_ENUM_IMPL(virDomainInput, VIR_DOMAIN_INPUT_TYPE_LAST, VIR_ENUM_IMPL(virDomainInput, VIR_DOMAIN_INPUT_TYPE_LAST,
"mouse", "mouse",
"tablet") "tablet",
"keyboard")
VIR_ENUM_IMPL(virDomainInputBus, VIR_DOMAIN_INPUT_BUS_LAST, VIR_ENUM_IMPL(virDomainInputBus, VIR_DOMAIN_INPUT_BUS_LAST,
"ps2", "ps2",
@ -7773,7 +7774,7 @@ error:
/* Parse the XML definition for an input device */ /* Parse the XML definition for an input device */
static virDomainInputDefPtr static virDomainInputDefPtr
virDomainInputDefParseXML(const char *ostype, virDomainInputDefParseXML(const virDomainDef *dom,
xmlNodePtr node, xmlNodePtr node,
unsigned int flags) unsigned int flags)
{ {
@ -7806,9 +7807,10 @@ virDomainInputDefParseXML(const char *ostype,
goto error; goto error;
} }
if (STREQ(ostype, "hvm")) { if (STREQ(dom->os.type, "hvm")) {
if (def->bus == VIR_DOMAIN_INPUT_BUS_PS2 && /* Only allow mouse for ps2 */ if (def->bus == VIR_DOMAIN_INPUT_BUS_PS2 &&
def->type != VIR_DOMAIN_INPUT_TYPE_MOUSE) { def->type != VIR_DOMAIN_INPUT_TYPE_MOUSE &&
def->type != VIR_DOMAIN_INPUT_TYPE_KBD) {
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,
_("ps2 bus does not support %s input device"), _("ps2 bus does not support %s input device"),
type); type);
@ -7826,7 +7828,8 @@ virDomainInputDefParseXML(const char *ostype,
_("unsupported input bus %s"), _("unsupported input bus %s"),
bus); bus);
} }
if (def->type != VIR_DOMAIN_INPUT_TYPE_MOUSE) { if (def->type != VIR_DOMAIN_INPUT_TYPE_MOUSE &&
def->type != VIR_DOMAIN_INPUT_TYPE_KBD) {
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,
_("xen bus does not support %s input device"), _("xen bus does not support %s input device"),
type); type);
@ -7834,8 +7837,9 @@ virDomainInputDefParseXML(const char *ostype,
} }
} }
} else { } else {
if (STREQ(ostype, "hvm")) { if (STREQ(dom->os.type, "hvm")) {
if (def->type == VIR_DOMAIN_INPUT_TYPE_MOUSE) if ((def->type == VIR_DOMAIN_INPUT_TYPE_MOUSE ||
def->type == VIR_DOMAIN_INPUT_TYPE_KBD))
def->bus = VIR_DOMAIN_INPUT_BUS_PS2; def->bus = VIR_DOMAIN_INPUT_BUS_PS2;
else else
def->bus = VIR_DOMAIN_INPUT_BUS_USB; def->bus = VIR_DOMAIN_INPUT_BUS_USB;
@ -9857,7 +9861,7 @@ virDomainDeviceDefParse(const char *xmlStr,
goto error; goto error;
break; break;
case VIR_DOMAIN_DEVICE_INPUT: case VIR_DOMAIN_DEVICE_INPUT:
if (!(dev->data.input = virDomainInputDefParseXML(def->os.type, if (!(dev->data.input = virDomainInputDefParseXML(def,
node, flags))) node, flags)))
goto error; goto error;
break; break;
@ -12442,7 +12446,7 @@ virDomainDefParseXML(xmlDocPtr xml,
goto error; goto error;
for (i = 0; i < n; i++) { for (i = 0; i < n; i++) {
virDomainInputDefPtr input = virDomainInputDefParseXML(def->os.type, virDomainInputDefPtr input = virDomainInputDefParseXML(def,
nodes[i], nodes[i],
flags); flags);
if (!input) if (!input)
@ -12462,10 +12466,12 @@ virDomainDefParseXML(xmlDocPtr xml,
* XXX will this be true for other virt types ? */ * XXX will this be true for other virt types ? */
if ((STREQ(def->os.type, "hvm") && if ((STREQ(def->os.type, "hvm") &&
input->bus == VIR_DOMAIN_INPUT_BUS_PS2 && input->bus == VIR_DOMAIN_INPUT_BUS_PS2 &&
input->type == VIR_DOMAIN_INPUT_TYPE_MOUSE) || (input->type == VIR_DOMAIN_INPUT_TYPE_MOUSE ||
input->type == VIR_DOMAIN_INPUT_TYPE_KBD)) ||
(STRNEQ(def->os.type, "hvm") && (STRNEQ(def->os.type, "hvm") &&
input->bus == VIR_DOMAIN_INPUT_BUS_XEN && input->bus == VIR_DOMAIN_INPUT_BUS_XEN &&
input->type == VIR_DOMAIN_INPUT_TYPE_MOUSE)) { (input->type == VIR_DOMAIN_INPUT_TYPE_MOUSE ||
input->type == VIR_DOMAIN_INPUT_TYPE_KBD))) {
virDomainInputDefFree(input); virDomainInputDefFree(input);
continue; continue;
} }
@ -12502,8 +12508,12 @@ virDomainDefParseXML(xmlDocPtr xml,
VIR_DOMAIN_INPUT_TYPE_MOUSE, VIR_DOMAIN_INPUT_TYPE_MOUSE,
input_bus) < 0) input_bus) < 0)
goto error; goto error;
}
if (virDomainDefMaybeAddInput(def,
VIR_DOMAIN_INPUT_TYPE_KBD,
input_bus) < 0)
goto error;
}
/* analysis of the sound devices */ /* analysis of the sound devices */
if ((n = virXPathNodeSet("./devices/sound", ctxt, &nodes)) < 0) { if ((n = virXPathNodeSet("./devices/sound", ctxt, &nodes)) < 0) {
@ -17520,7 +17530,7 @@ virDomainDefFormatInternal(virDomainDefPtr def,
} }
if (def->ngraphics > 0) { if (def->ngraphics > 0) {
/* If graphics is enabled, add the implicit mouse */ /* If graphics is enabled, add the implicit mouse/keyboard */
virDomainInputDef autoInput = { virDomainInputDef autoInput = {
VIR_DOMAIN_INPUT_TYPE_MOUSE, VIR_DOMAIN_INPUT_TYPE_MOUSE,
STREQ(def->os.type, "hvm") ? STREQ(def->os.type, "hvm") ?
@ -17531,6 +17541,12 @@ virDomainDefFormatInternal(virDomainDefPtr def,
if (virDomainInputDefFormat(buf, &autoInput, flags) < 0) if (virDomainInputDefFormat(buf, &autoInput, flags) < 0)
goto error; goto error;
if (!(flags & VIR_DOMAIN_XML_MIGRATABLE)) {
autoInput.type = VIR_DOMAIN_INPUT_TYPE_KBD;
if (virDomainInputDefFormat(buf, &autoInput, flags) < 0)
goto error;
}
for (n = 0; n < def->ngraphics; n++) for (n = 0; n < def->ngraphics; n++)
if (virDomainGraphicsDefFormat(buf, def->graphics[n], flags) < 0) if (virDomainGraphicsDefFormat(buf, def->graphics[n], flags) < 0)
goto error; goto error;

View File

@ -1239,6 +1239,7 @@ struct _virDomainTPMDef {
enum virDomainInputType { enum virDomainInputType {
VIR_DOMAIN_INPUT_TYPE_MOUSE, VIR_DOMAIN_INPUT_TYPE_MOUSE,
VIR_DOMAIN_INPUT_TYPE_TABLET, VIR_DOMAIN_INPUT_TYPE_TABLET,
VIR_DOMAIN_INPUT_TYPE_KBD,
VIR_DOMAIN_INPUT_TYPE_LAST VIR_DOMAIN_INPUT_TYPE_LAST
}; };

View File

@ -104,6 +104,7 @@
<alias name='input0'/> <alias name='input0'/>
</input> </input>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'> <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/> <listen type='address' address='0.0.0.0'/>
</graphics> </graphics>

View File

@ -99,6 +99,7 @@
<alias name='input0'/> <alias name='input0'/>
</input> </input>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'> <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/> <listen type='address' address='0.0.0.0'/>
</graphics> </graphics>

View File

@ -23,6 +23,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='5903' autoport='no'> <graphics type='vnc' port='5903' autoport='no'>
<listen type='network' network='Bobsnetwork'/> <listen type='network' network='Bobsnetwork'/>
</graphics> </graphics>

View File

@ -22,6 +22,7 @@
<controller type='usb' index='0'/> <controller type='usb' index='0'/>
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' listen='1.2.3.4' autoport='yes'> <graphics type='vnc' listen='1.2.3.4' autoport='yes'>
<listen type='address' address='1.2.3.4'/> <listen type='address' address='1.2.3.4'/>
<listen type='network' network='Bobsnetwork'/> <listen type='network' network='Bobsnetwork'/>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='sdl' display=':0.1' xauth='/root/.Xauthority' fullscreen='yes'/> <graphics type='sdl' display=':0.1' xauth='/root/.Xauthority' fullscreen='yes'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='9216' heads='1'/>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='sdl' display=':0.1' xauth='/root/.Xauthority'/> <graphics type='sdl' display=':0.1' xauth='/root/.Xauthority'/>
<video> <video>
<model type='vga' vram='9216' heads='1'/> <model type='vga' vram='9216' heads='1'/>

View File

@ -23,6 +23,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'> <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
<image compression='auto_glz'/> <image compression='auto_glz'/>

View File

@ -23,6 +23,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'> <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
<channel name='main' mode='secure'/> <channel name='main' mode='secure'/>

View File

@ -71,6 +71,7 @@
</console> </console>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/> <graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/>
<sound model='ac97'> <sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

View File

@ -23,6 +23,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1' defaultMode='secure'> <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1' defaultMode='secure'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
<channel name='main' mode='secure'/> <channel name='main' mode='secure'/>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='5900' autoport='no' listen='127.0.0.1' sharePolicy='allow-exclusive'> <graphics type='vnc' port='5900' autoport='no' listen='127.0.0.1' sharePolicy='allow-exclusive'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'> <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' socket='/tmp/foo.socket'/> <graphics type='vnc' socket='/tmp/foo.socket'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='9216' heads='1'/>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'> <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -17,6 +17,7 @@
<controller type='usb' index='0'/> <controller type='usb' index='0'/>
<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'/>
<graphics type='vnc' port='5900' autoport='no' websocket='5700' listen='127.0.0.1'> <graphics type='vnc' port='5900' autoport='no' websocket='5700' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -24,6 +24,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='5903' autoport='no' listen='2001:1:2:3:4:5:1234:1234'> <graphics type='vnc' port='5903' autoport='no' listen='2001:1:2:3:4:5:1234:1234'>
<listen type='address' address='2001:1:2:3:4:5:1234:1234'/> <listen type='address' address='2001:1:2:3:4:5:1234:1234'/>
</graphics> </graphics>

View File

@ -22,6 +22,7 @@
<controller type='usb' index='0'/> <controller type='usb' index='0'/>
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'> <graphics type='vnc' port='5903' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -60,6 +60,7 @@
</console> </console>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
<sound model='ac97'> <sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

View File

@ -196,6 +196,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -31,6 +31,7 @@
<controller type='scsi' index='0'/> <controller type='scsi' index='0'/>
<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'/>
<graphics type='sdl'/> <graphics type='sdl'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='9216' heads='1'/>

View File

@ -32,6 +32,7 @@
</console> </console>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'> <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -23,6 +23,7 @@
<controller type='ide' index='0'/> <controller type='ide' index='0'/>
<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'/>
<graphics type='vnc' port='-1' autoport='yes' listen='1.2.3.4'> <graphics type='vnc' port='-1' autoport='yes' listen='1.2.3.4'>
<listen type='address' address='1.2.3.4'/> <listen type='address' address='1.2.3.4'/>
<listen type='network' network='Bobsnetwork'/> <listen type='network' network='Bobsnetwork'/>

View File

@ -74,6 +74,7 @@
</console> </console>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/> <graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'/>
<sound model='ac97'> <sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

View File

@ -31,6 +31,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
</devices> </devices>
</domain> </domain>

View File

@ -43,6 +43,7 @@
</console> </console>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5925' autoport='yes' keymap='en-us'/> <graphics type='vnc' port='5925' autoport='yes' keymap='en-us'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -39,6 +39,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -39,6 +39,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -37,6 +37,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -37,6 +37,7 @@
<model type='netfront'/> <model type='netfront'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -41,6 +41,7 @@
<target port='0'/> <target port='0'/>
</parallel> </parallel>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -48,6 +48,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -44,6 +44,7 @@
<target type='serial' port='1'/> <target type='serial' port='1'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -42,6 +42,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -42,6 +42,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -42,6 +42,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='no'/> <graphics type='vnc' port='5901' autoport='no'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
<sound model='sb16'/> <sound model='sb16'/>
<sound model='es1370'/> <sound model='es1370'/>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
<sound model='sb16'/> <sound model='sb16'/>
<sound model='es1370'/> <sound model='es1370'/>

View File

@ -37,6 +37,7 @@
</interface> </interface>
<input type='mouse' bus='usb'/> <input type='mouse' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -37,6 +37,7 @@
</interface> </interface>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='ja'/> <graphics type='vnc' port='-1' autoport='yes' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -36,6 +36,7 @@
<target dev='vif3.0'/> <target dev='vif3.0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/> <graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
</devices> </devices>
</domain> </domain>

View File

@ -41,6 +41,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
</devices> </devices>
</domain> </domain>

View File

@ -24,6 +24,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='5925' autoport='no' listen='0.0.0.0' keymap='ja'> <graphics type='vnc' port='5925' autoport='no' listen='0.0.0.0' keymap='ja'>
<listen type='address' address='0.0.0.0'/> <listen type='address' address='0.0.0.0'/>
</graphics> </graphics>

View File

@ -24,6 +24,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'>
<listen type='address' address='0.0.0.0'/> <listen type='address' address='0.0.0.0'/>
</graphics> </graphics>

View File

@ -24,6 +24,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'>
<listen type='address' address='0.0.0.0'/> <listen type='address' address='0.0.0.0'/>
</graphics> </graphics>

View File

@ -29,6 +29,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
</devices> </devices>
</domain> </domain>

View File

@ -12,6 +12,7 @@
<on_crash>destroy</on_crash> <on_crash>destroy</on_crash>
<devices> <devices>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='5903' autoport='no' keymap='de' passwd='password'/> <graphics type='vnc' port='5903' autoport='no' keymap='de' passwd='password'/>
<video> <video>
<model type='vmvga' vram='4096'/> <model type='vmvga' vram='4096'/>

View File

@ -43,6 +43,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -40,6 +40,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -40,6 +40,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='netfront'/> <model type='netfront'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -43,6 +43,7 @@
<target port='0'/> <target port='0'/>
</parallel> </parallel>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -50,6 +50,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -46,6 +46,7 @@
<target type='serial' port='1'/> <target type='serial' port='1'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -44,6 +44,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -48,6 +48,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -48,6 +48,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -48,6 +48,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -46,6 +46,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -39,6 +39,7 @@
</interface> </interface>
<input type='mouse' bus='usb'/> <input type='mouse' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -39,6 +39,7 @@
</interface> </interface>
<input type='tablet' bus='usb'/> <input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -38,6 +38,7 @@
<model type='e1000'/> <model type='e1000'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -43,6 +43,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
</devices> </devices>
</domain> </domain>

View File

@ -28,6 +28,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -29,6 +29,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -27,6 +27,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -27,6 +27,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -27,6 +27,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='5925' autoport='no' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -27,6 +27,7 @@
<target type='xen' port='0'/> <target type='xen' port='0'/>
</console> </console>
<input type='mouse' bus='xen'/> <input type='mouse' bus='xen'/>
<input type='keyboard' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'> <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
<listen type='address' address='127.0.0.1'/> <listen type='address' address='127.0.0.1'/>
</graphics> </graphics>

View File

@ -43,6 +43,7 @@
<target type='serial' port='0'/> <target type='serial' port='0'/>
</console> </console>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes'/>
<hostdev mode='subsystem' type='pci' managed='no'> <hostdev mode='subsystem' type='pci' managed='no'>
<source> <source>