mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
domain conf: Track <console> target type
All <console> devices now export a <target> type attribute. QEMU defaults to 'serial', UML defaults to 'uml, xen can be either 'serial' or 'xen' depending on fullvirt. Understandably there is lots of test fallout. This will be used to differentiate between a serial vs. virtio console for QEMU. Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
+25
-5
@@ -1212,17 +1212,37 @@
|
|||||||
<interleave>
|
<interleave>
|
||||||
<ref name="qemucdevSrcDef"/>
|
<ref name="qemucdevSrcDef"/>
|
||||||
<optional>
|
<optional>
|
||||||
<element name="target">
|
<ref name="qemucdevTgtDef"/>
|
||||||
<optional>
|
|
||||||
<attribute name="port"/>
|
|
||||||
</optional>
|
|
||||||
</element>
|
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="address"/>
|
<ref name="address"/>
|
||||||
</optional>
|
</optional>
|
||||||
</interleave>
|
</interleave>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name="qemucdevConsoleTgtType">
|
||||||
|
<attribute name="type">
|
||||||
|
<choice>
|
||||||
|
<value>xen</value>
|
||||||
|
<value>serial</value>
|
||||||
|
<value>uml</value>
|
||||||
|
</choice>
|
||||||
|
</attribute>
|
||||||
|
</define>
|
||||||
|
|
||||||
|
<define name="qemucdevTgtDef">
|
||||||
|
<element name="target">
|
||||||
|
<interleave>
|
||||||
|
<optional>
|
||||||
|
<ref name="qemucdevConsoleTgtType"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<attribute name="port"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
|
</element>
|
||||||
|
</define>
|
||||||
|
|
||||||
<define name="qemucdevSrcType">
|
<define name="qemucdevSrcType">
|
||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<choice>
|
<choice>
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ struct _virCaps {
|
|||||||
unsigned int emulatorRequired : 1;
|
unsigned int emulatorRequired : 1;
|
||||||
const char *defaultDiskDriverName;
|
const char *defaultDiskDriverName;
|
||||||
const char *defaultDiskDriverType;
|
const char *defaultDiskDriverType;
|
||||||
|
int defaultConsoleTargetType;
|
||||||
void *(*privateDataAllocFunc)(void);
|
void *(*privateDataAllocFunc)(void);
|
||||||
void (*privateDataFreeFunc)(void *);
|
void (*privateDataFreeFunc)(void *);
|
||||||
int (*privateDataXMLFormat)(virBufferPtr, void *);
|
int (*privateDataXMLFormat)(virBufferPtr, void *);
|
||||||
|
|||||||
+45
-12
@@ -169,6 +169,12 @@ VIR_ENUM_IMPL(virDomainChrChannelTarget,
|
|||||||
"guestfwd",
|
"guestfwd",
|
||||||
"virtio")
|
"virtio")
|
||||||
|
|
||||||
|
VIR_ENUM_IMPL(virDomainChrConsoleTarget,
|
||||||
|
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_LAST,
|
||||||
|
"serial",
|
||||||
|
"xen",
|
||||||
|
"uml")
|
||||||
|
|
||||||
VIR_ENUM_IMPL(virDomainChrDevice, VIR_DOMAIN_CHR_DEVICE_TYPE_LAST,
|
VIR_ENUM_IMPL(virDomainChrDevice, VIR_DOMAIN_CHR_DEVICE_TYPE_LAST,
|
||||||
"monitor",
|
"monitor",
|
||||||
"parallel",
|
"parallel",
|
||||||
@@ -2374,7 +2380,7 @@ error:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
virDomainChrDefaultTargetType(int devtype) {
|
virDomainChrDefaultTargetType(virCapsPtr caps, int devtype) {
|
||||||
|
|
||||||
int target = -1;
|
int target = -1;
|
||||||
|
|
||||||
@@ -2386,6 +2392,9 @@ virDomainChrDefaultTargetType(int devtype) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
|
||||||
|
target = caps->defaultConsoleTargetType;
|
||||||
|
break;
|
||||||
|
|
||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL:
|
||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_PARALLEL:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_PARALLEL:
|
||||||
default:
|
default:
|
||||||
@@ -2398,14 +2407,15 @@ virDomainChrDefaultTargetType(int devtype) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
virDomainChrTargetTypeFromString(int devtype,
|
virDomainChrTargetTypeFromString(virCapsPtr caps,
|
||||||
|
int devtype,
|
||||||
const char *targetType)
|
const char *targetType)
|
||||||
{
|
{
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
int target = 0;
|
int target = 0;
|
||||||
|
|
||||||
if (!targetType) {
|
if (!targetType) {
|
||||||
target = virDomainChrDefaultTargetType(devtype);
|
target = virDomainChrDefaultTargetType(caps, devtype);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2414,6 +2424,10 @@ virDomainChrTargetTypeFromString(int devtype,
|
|||||||
target = virDomainChrChannelTargetTypeFromString(targetType);
|
target = virDomainChrChannelTargetTypeFromString(targetType);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
|
||||||
|
target = virDomainChrConsoleTargetTypeFromString(targetType);
|
||||||
|
/* Fall through */
|
||||||
|
|
||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL:
|
||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_PARALLEL:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_PARALLEL:
|
||||||
default:
|
default:
|
||||||
@@ -2437,6 +2451,9 @@ virDomainChrTargetTypeToString(int deviceType,
|
|||||||
case VIR_DOMAIN_CHR_DEVICE_TYPE_CHANNEL:
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_CHANNEL:
|
||||||
type = virDomainChrChannelTargetTypeToString(targetType);
|
type = virDomainChrChannelTargetTypeToString(targetType);
|
||||||
break;
|
break;
|
||||||
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
|
||||||
|
type = virDomainChrConsoleTargetTypeToString(targetType);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -2445,7 +2462,8 @@ virDomainChrTargetTypeToString(int deviceType,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
virDomainChrDefParseTargetXML(virDomainChrDefPtr def,
|
virDomainChrDefParseTargetXML(virCapsPtr caps,
|
||||||
|
virDomainChrDefPtr def,
|
||||||
xmlNodePtr cur,
|
xmlNodePtr cur,
|
||||||
int flags ATTRIBUTE_UNUSED)
|
int flags ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
@@ -2456,7 +2474,8 @@ virDomainChrDefParseTargetXML(virDomainChrDefPtr def,
|
|||||||
const char *portStr = NULL;
|
const char *portStr = NULL;
|
||||||
|
|
||||||
if ((def->targetType =
|
if ((def->targetType =
|
||||||
virDomainChrTargetTypeFromString(def->deviceType, targetType)) < 0) {
|
virDomainChrTargetTypeFromString(caps,
|
||||||
|
def->deviceType, targetType)) < 0) {
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2586,7 +2605,8 @@ error:
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static virDomainChrDefPtr
|
static virDomainChrDefPtr
|
||||||
virDomainChrDefParseXML(xmlNodePtr node,
|
virDomainChrDefParseXML(virCapsPtr caps,
|
||||||
|
xmlNodePtr node,
|
||||||
int flags) {
|
int flags) {
|
||||||
xmlNodePtr cur;
|
xmlNodePtr cur;
|
||||||
char *type = NULL;
|
char *type = NULL;
|
||||||
@@ -2664,7 +2684,7 @@ virDomainChrDefParseXML(xmlNodePtr node,
|
|||||||
if (protocol == NULL)
|
if (protocol == NULL)
|
||||||
protocol = virXMLPropString(cur, "type");
|
protocol = virXMLPropString(cur, "type");
|
||||||
} else if (xmlStrEqual(cur->name, BAD_CAST "target")) {
|
} else if (xmlStrEqual(cur->name, BAD_CAST "target")) {
|
||||||
if (virDomainChrDefParseTargetXML(def, cur, flags) < 0) {
|
if (virDomainChrDefParseTargetXML(caps, def, cur, flags) < 0) {
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4515,7 +4535,8 @@ static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
|
|||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
|
||||||
for (i = 0 ; i < n ; i++) {
|
for (i = 0 ; i < n ; i++) {
|
||||||
virDomainChrDefPtr chr = virDomainChrDefParseXML(nodes[i],
|
virDomainChrDefPtr chr = virDomainChrDefParseXML(caps,
|
||||||
|
nodes[i],
|
||||||
flags);
|
flags);
|
||||||
if (!chr)
|
if (!chr)
|
||||||
goto error;
|
goto error;
|
||||||
@@ -4534,7 +4555,8 @@ static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
|
|||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
|
||||||
for (i = 0 ; i < n ; i++) {
|
for (i = 0 ; i < n ; i++) {
|
||||||
virDomainChrDefPtr chr = virDomainChrDefParseXML(nodes[i],
|
virDomainChrDefPtr chr = virDomainChrDefParseXML(caps,
|
||||||
|
nodes[i],
|
||||||
flags);
|
flags);
|
||||||
if (!chr)
|
if (!chr)
|
||||||
goto error;
|
goto error;
|
||||||
@@ -4545,7 +4567,8 @@ static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
|
|||||||
VIR_FREE(nodes);
|
VIR_FREE(nodes);
|
||||||
|
|
||||||
if ((node = virXPathNode("./devices/console[1]", ctxt)) != NULL) {
|
if ((node = virXPathNode("./devices/console[1]", ctxt)) != NULL) {
|
||||||
virDomainChrDefPtr chr = virDomainChrDefParseXML(node,
|
virDomainChrDefPtr chr = virDomainChrDefParseXML(caps,
|
||||||
|
node,
|
||||||
flags);
|
flags);
|
||||||
if (!chr)
|
if (!chr)
|
||||||
goto error;
|
goto error;
|
||||||
@@ -4581,7 +4604,8 @@ static virDomainDefPtr virDomainDefParseXML(virCapsPtr caps,
|
|||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
|
||||||
for (i = 0 ; i < n ; i++) {
|
for (i = 0 ; i < n ; i++) {
|
||||||
virDomainChrDefPtr chr = virDomainChrDefParseXML(nodes[i],
|
virDomainChrDefPtr chr = virDomainChrDefParseXML(caps,
|
||||||
|
nodes[i],
|
||||||
flags);
|
flags);
|
||||||
if (!chr)
|
if (!chr)
|
||||||
goto error;
|
goto error;
|
||||||
@@ -5831,8 +5855,17 @@ virDomainChrDefFormat(virBufferPtr buf,
|
|||||||
/* Nothing to format */
|
/* Nothing to format */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE:
|
||||||
|
virBufferVSprintf(buf,
|
||||||
|
" <target type='%s' port='%d'/>\n",
|
||||||
|
virDomainChrTargetTypeToString(def->deviceType,
|
||||||
|
def->targetType),
|
||||||
|
def->target.port);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
virBufferVSprintf(buf, " <target port='%d'/>\n", def->target.port);
|
virBufferVSprintf(buf, " <target port='%d'/>\n",
|
||||||
|
def->target.port);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -330,6 +330,14 @@ enum virDomainChrChannelTargetType {
|
|||||||
VIR_DOMAIN_CHR_CHANNEL_TARGET_TYPE_LAST,
|
VIR_DOMAIN_CHR_CHANNEL_TARGET_TYPE_LAST,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum virDomainChrConsoleTargetType {
|
||||||
|
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_SERIAL = 0,
|
||||||
|
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_XEN,
|
||||||
|
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_UML,
|
||||||
|
|
||||||
|
VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_LAST,
|
||||||
|
};
|
||||||
|
|
||||||
enum virDomainChrType {
|
enum virDomainChrType {
|
||||||
VIR_DOMAIN_CHR_TYPE_NULL,
|
VIR_DOMAIN_CHR_TYPE_NULL,
|
||||||
VIR_DOMAIN_CHR_TYPE_VC,
|
VIR_DOMAIN_CHR_TYPE_VC,
|
||||||
@@ -1143,6 +1151,7 @@ VIR_ENUM_DECL(virDomainFS)
|
|||||||
VIR_ENUM_DECL(virDomainNet)
|
VIR_ENUM_DECL(virDomainNet)
|
||||||
VIR_ENUM_DECL(virDomainChrDevice)
|
VIR_ENUM_DECL(virDomainChrDevice)
|
||||||
VIR_ENUM_DECL(virDomainChrChannelTarget)
|
VIR_ENUM_DECL(virDomainChrChannelTarget)
|
||||||
|
VIR_ENUM_DECL(virDomainChrConsoleTarget)
|
||||||
VIR_ENUM_DECL(virDomainChr)
|
VIR_ENUM_DECL(virDomainChr)
|
||||||
VIR_ENUM_DECL(virDomainSoundModel)
|
VIR_ENUM_DECL(virDomainSoundModel)
|
||||||
VIR_ENUM_DECL(virDomainMemballoonModel)
|
VIR_ENUM_DECL(virDomainMemballoonModel)
|
||||||
|
|||||||
@@ -1137,6 +1137,8 @@ virCapsPtr qemudCapsInit(virCapsPtr old_caps) {
|
|||||||
/* QEMU Requires an emulator in the XML */
|
/* QEMU Requires an emulator in the XML */
|
||||||
virCapabilitiesSetEmulatorRequired(caps);
|
virCapabilitiesSetEmulatorRequired(caps);
|
||||||
|
|
||||||
|
caps->defaultConsoleTargetType = VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_SERIAL;
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
|
||||||
no_memory:
|
no_memory:
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ virCapsPtr umlCapsInit(void) {
|
|||||||
NULL) == NULL)
|
NULL) == NULL)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
|
caps->defaultConsoleTargetType = VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_UML;
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|||||||
@@ -2342,6 +2342,8 @@ xenHypervisorBuildCapabilities(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
caps->defaultConsoleTargetType = VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_XEN;
|
||||||
|
|
||||||
return caps;
|
return caps;
|
||||||
|
|
||||||
no_memory:
|
no_memory:
|
||||||
|
|||||||
@@ -2367,6 +2367,7 @@ xenDaemonParseSxpr(virConnectPtr conn,
|
|||||||
if (!(def->console = xenDaemonParseSxprChar("pty", tty)))
|
if (!(def->console = xenDaemonParseSxprChar("pty", tty)))
|
||||||
goto error;
|
goto error;
|
||||||
def->console->deviceType = VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE;
|
def->console->deviceType = VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE;
|
||||||
|
def->console->targetType = VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_XEN;
|
||||||
}
|
}
|
||||||
VIR_FREE(tty);
|
VIR_FREE(tty);
|
||||||
|
|
||||||
|
|||||||
@@ -1441,6 +1441,7 @@ xenXMDomainConfigParse(virConnectPtr conn, virConfPtr conf) {
|
|||||||
if (!(def->console = xenDaemonParseSxprChar("pty", NULL)))
|
if (!(def->console = xenDaemonParseSxprChar("pty", NULL)))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
def->console->deviceType = VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE;
|
def->console->deviceType = VIR_DOMAIN_CHR_DEVICE_TYPE_CONSOLE;
|
||||||
|
def->console->targetType = VIR_DOMAIN_CHR_CONSOLE_TARGET_TYPE_XEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hvm) {
|
if (hvm) {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ cat <<\EOF > D.xml || fail=1
|
|||||||
<target port='2'/>
|
<target port='2'/>
|
||||||
</parallel>
|
</parallel>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<sound model='pcspk'/>
|
<sound model='pcspk'/>
|
||||||
<sound model='es1370'/>
|
<sound model='es1370'/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='dev'>
|
<console type='dev'>
|
||||||
<source path='/dev/ttyS2'/>
|
<source path='/dev/ttyS2'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='file'>
|
<console type='file'>
|
||||||
<source path='/tmp/serial.log'/>
|
<source path='/tmp/serial.log'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<target port='1'/>
|
<target port='1'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='bind' host='127.0.0.1' service='9999'/>
|
<source mode='bind' host='127.0.0.1' service='9999'/>
|
||||||
<protocol type='telnet'/>
|
<protocol type='telnet'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='connect' host='127.0.0.1' service='9999'/>
|
<source mode='connect' host='127.0.0.1' service='9999'/>
|
||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<console type='udp'>
|
<console type='udp'>
|
||||||
<source mode='bind' host='127.0.0.1' service='9999'/>
|
<source mode='bind' host='127.0.0.1' service='9999'/>
|
||||||
<source mode='connect' host='127.0.0.1' service='9998'/>
|
<source mode='connect' host='127.0.0.1' service='9998'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='unix'>
|
<console type='unix'>
|
||||||
<source mode='connect' path='/tmp/serial.sock'/>
|
<source mode='connect' path='/tmp/serial.sock'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='vc'>
|
<console type='vc'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<memballoon model='virtio'/>
|
<memballoon model='virtio'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<target dev='vif5.0'/>
|
<target dev='vif5.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' bus='xen'/>
|
||||||
<graphics type='vnc' port='-1' autoport='yes'/>
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='tablet' bus='usb'/>
|
<input type='tablet' bus='usb'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='file'>
|
<console type='file'>
|
||||||
<source path='/tmp/serial.log'/>
|
<source path='/tmp/serial.log'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='null'>
|
<console type='null'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='pipe'>
|
<console type='pipe'>
|
||||||
<source path='/tmp/serial.pipe'/>
|
<source path='/tmp/serial.pipe'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='stdio'>
|
<console type='stdio'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
<protocol type='telnet'/>
|
<protocol type='telnet'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<console type='udp'>
|
<console type='udp'>
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
<source mode='connect' host='localhost' service='9998'/>
|
<source mode='connect' host='localhost' service='9998'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='unix'>
|
<console type='unix'>
|
||||||
<source mode='bind' path='/tmp/serial.sock'/>
|
<source mode='bind' path='/tmp/serial.sock'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5901' autoport='no'/>
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<model type='e1000'/>
|
<model type='e1000'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='-1' autoport='yes'/>
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<hostdev mode='subsystem' type='pci' managed='no'>
|
<hostdev mode='subsystem' type='pci' managed='no'>
|
||||||
<source>
|
<source>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<target dev='vif1.0'/>
|
<target dev='vif1.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' bus='xen'/>
|
||||||
<graphics type='vnc' port='-1' autoport='yes'/>
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
</parallel>
|
</parallel>
|
||||||
<console type='file'>
|
<console type='file'>
|
||||||
<source path='[498076b2-02796c1a-ef5b-000ae484a6a3] virtMonServ1/serial1.file'/>
|
<source path='[498076b2-02796c1a-ef5b-000ae484a6a3] virtMonServ1/serial1.file'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='dev'>
|
<console type='dev'>
|
||||||
<source path='/dev/ttyS0'/>
|
<source path='/dev/ttyS0'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='file'>
|
<console type='file'>
|
||||||
<source path='[datastore] directory/serial0.file'/>
|
<source path='[datastore] directory/serial0.file'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='pipe'>
|
<console type='pipe'>
|
||||||
<source path='serial0.pipe'/>
|
<source path='serial0.pipe'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='file'>
|
<console type='file'>
|
||||||
<source path='/tmp/serial.log'/>
|
<source path='/tmp/serial.log'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='null'>
|
<console type='null'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='pipe'>
|
<console type='pipe'>
|
||||||
<source path='/tmp/serial.pipe'/>
|
<source path='/tmp/serial.pipe'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='stdio'>
|
<console type='stdio'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='bind' host='127.0.0.1' service='9999'/>
|
<source mode='bind' host='127.0.0.1' service='9999'/>
|
||||||
<protocol type='telnet'/>
|
<protocol type='telnet'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<console type='tcp'>
|
<console type='tcp'>
|
||||||
<source mode='connect' host='127.0.0.1' service='7777'/>
|
<source mode='connect' host='127.0.0.1' service='7777'/>
|
||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<console type='udp'>
|
<console type='udp'>
|
||||||
<source mode='bind' host='0.0.0.0' service='99998'/>
|
<source mode='bind' host='0.0.0.0' service='99998'/>
|
||||||
<source mode='connect' host='127.0.0.1' service='9999'/>
|
<source mode='connect' host='127.0.0.1' service='9999'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
</serial>
|
</serial>
|
||||||
<console type='unix'>
|
<console type='unix'>
|
||||||
<source mode='bind' path='/tmp/serial.sock'/>
|
<source mode='bind' path='/tmp/serial.sock'/>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='-1' autoport='yes'/>
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<model type='e1000'/>
|
<model type='e1000'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<model type='e1000'/>
|
<model type='e1000'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<script path='vif-bridge'/>
|
<script path='vif-bridge'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<script path='vif-bridge'/>
|
<script path='vif-bridge'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<script path='vif-bridge'/>
|
<script path='vif-bridge'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<script path='vif-bridge'/>
|
<script path='vif-bridge'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='xen' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='xen'/>
|
<input type='mouse' 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'/>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target type='serial' port='0'/>
|
||||||
</console>
|
</console>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='-1' autoport='yes'/>
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
|
|||||||
Reference in New Issue
Block a user