mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Convert XenD SEXPR->XML convesion to new domain XML APIs
This commit is contained in:
parent
d9383fe158
commit
31ac8125b8
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
|||||||
|
Fri Jul 25 11:45:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
Convert XenD SEXPR->XML convesion to new domain XML APIs
|
||||||
|
|
||||||
|
* proxy/Makefile.am: Link to domain XML formatting APIs
|
||||||
|
* src/domain_conf.c, src/domain_conf.h: Disable XML parsing
|
||||||
|
routines when used by proxy
|
||||||
|
* src/sexpr.c, src/sexpr.h: Added sexpr_node_copy() API
|
||||||
|
* src/xend_internal.c, src/xend_internal.h: Convert the
|
||||||
|
SEXPR -> XML conversion routines to use the generic domain
|
||||||
|
XML APIs
|
||||||
|
* tests/sexpr2xmltest.c: Adapt for API changes
|
||||||
|
* tests/sexpr2xmldata/*.xml: Update to take account of
|
||||||
|
re-ordering of XML due to new APIs
|
||||||
|
|
||||||
Fri Jul 25 10:44:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Fri Jul 25 10:44:27 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Remove unused/no-op code from xen drivers
|
Remove unused/no-op code from xen drivers
|
||||||
|
@ -15,6 +15,7 @@ libvirt_proxy_SOURCES = libvirt_proxy.c @top_srcdir@/src/xend_internal.c \
|
|||||||
@top_srcdir@/src/xs_internal.c @top_srcdir@/src/buf.c \
|
@top_srcdir@/src/xs_internal.c @top_srcdir@/src/buf.c \
|
||||||
@top_srcdir@/src/capabilities.c \
|
@top_srcdir@/src/capabilities.c \
|
||||||
@top_srcdir@/src/memory.c \
|
@top_srcdir@/src/memory.c \
|
||||||
|
@top_srcdir@/src/domain_conf.c \
|
||||||
@top_srcdir@/src/util.c \
|
@top_srcdir@/src/util.c \
|
||||||
@top_srcdir@/src/uuid.c
|
@top_srcdir@/src/uuid.c
|
||||||
libvirt_proxy_LDFLAGS = $(WARN_CFLAGS)
|
libvirt_proxy_LDFLAGS = $(WARN_CFLAGS)
|
||||||
|
@ -439,6 +439,7 @@ void virDomainRemoveInactive(virDomainObjPtr *doms,
|
|||||||
virDomainObjFree(dom);
|
virDomainObjFree(dom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
static int virDomainDiskCompare(virDomainDiskDefPtr a,
|
static int virDomainDiskCompare(virDomainDiskDefPtr a,
|
||||||
virDomainDiskDefPtr b) {
|
virDomainDiskDefPtr b) {
|
||||||
if (a->bus == b->bus)
|
if (a->bus == b->bus)
|
||||||
@ -1916,7 +1917,7 @@ cleanup:
|
|||||||
xmlXPathFreeContext(ctxt);
|
xmlXPathFreeContext(ctxt);
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
|
#endif /* ! PROXY */
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
* *
|
* *
|
||||||
@ -2695,6 +2696,8 @@ char *virDomainDefFormat(virConnectPtr conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
|
|
||||||
int virDomainSaveConfig(virConnectPtr conn,
|
int virDomainSaveConfig(virConnectPtr conn,
|
||||||
const char *configDir,
|
const char *configDir,
|
||||||
const char *autostartDir,
|
const char *autostartDir,
|
||||||
@ -2773,6 +2776,7 @@ int virDomainSaveConfig(virConnectPtr conn,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
virDomainObjPtr virDomainLoadConfig(virConnectPtr conn,
|
virDomainObjPtr virDomainLoadConfig(virConnectPtr conn,
|
||||||
virCapsPtr caps,
|
virCapsPtr caps,
|
||||||
virDomainObjPtr *doms,
|
virDomainObjPtr *doms,
|
||||||
@ -2890,3 +2894,5 @@ int virDomainDeleteConfig(virConnectPtr conn,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* ! PROXY */
|
||||||
|
@ -424,6 +424,7 @@ virDomainObjPtr virDomainAssignDef(virConnectPtr conn,
|
|||||||
void virDomainRemoveInactive(virDomainObjPtr *doms,
|
void virDomainRemoveInactive(virDomainObjPtr *doms,
|
||||||
virDomainObjPtr dom);
|
virDomainObjPtr dom);
|
||||||
|
|
||||||
|
#ifndef PROXY
|
||||||
virDomainDeviceDefPtr virDomainDeviceDefParse(virConnectPtr conn,
|
virDomainDeviceDefPtr virDomainDeviceDefParse(virConnectPtr conn,
|
||||||
const virDomainDefPtr def,
|
const virDomainDefPtr def,
|
||||||
const char *xmlStr);
|
const char *xmlStr);
|
||||||
@ -437,6 +438,7 @@ virDomainDefPtr virDomainDefParseNode(virConnectPtr conn,
|
|||||||
virCapsPtr caps,
|
virCapsPtr caps,
|
||||||
xmlDocPtr doc,
|
xmlDocPtr doc,
|
||||||
xmlNodePtr root);
|
xmlNodePtr root);
|
||||||
|
#endif
|
||||||
char *virDomainDefFormat(virConnectPtr conn,
|
char *virDomainDefFormat(virConnectPtr conn,
|
||||||
virDomainDefPtr def,
|
virDomainDefPtr def,
|
||||||
int flags);
|
int flags);
|
||||||
|
15
src/sexpr.c
15
src/sexpr.c
@ -550,6 +550,21 @@ sexpr_node(const struct sexpr *sexpr, const char *node)
|
|||||||
return (n && n->u.s.car->kind == SEXPR_VALUE) ? n->u.s.car->u.value : NULL;
|
return (n && n->u.s.car->kind == SEXPR_VALUE) ? n->u.s.car->u.value : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int sexpr_node_copy(const struct sexpr *sexpr, const char *node, char **dst)
|
||||||
|
{
|
||||||
|
const char *val = sexpr_node(sexpr, node);
|
||||||
|
|
||||||
|
if (val) {
|
||||||
|
*dst = strdup(val);
|
||||||
|
if (!(*dst))
|
||||||
|
return -1;
|
||||||
|
} else {
|
||||||
|
*dst = NULL;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* sexpr_fmt_node:
|
* sexpr_fmt_node:
|
||||||
* @sexpr: a pointer to a parsed S-Expression
|
* @sexpr: a pointer to a parsed S-Expression
|
||||||
|
@ -47,6 +47,7 @@ void sexpr_free(struct sexpr *sexpr);
|
|||||||
|
|
||||||
/* lookup in S-Expressions */
|
/* lookup in S-Expressions */
|
||||||
const char *sexpr_node(const struct sexpr *sexpr, const char *node);
|
const char *sexpr_node(const struct sexpr *sexpr, const char *node);
|
||||||
|
int sexpr_node_copy(const struct sexpr *sexpr, const char *node, char **dst);
|
||||||
const char *sexpr_fmt_node(const struct sexpr *sexpr, const char *fmt, ...)
|
const char *sexpr_fmt_node(const struct sexpr *sexpr, const char *fmt, ...)
|
||||||
ATTRIBUTE_FORMAT(printf,2,3);
|
ATTRIBUTE_FORMAT(printf,2,3);
|
||||||
struct sexpr *sexpr_lookup(const struct sexpr *sexpr, const char *node);
|
struct sexpr *sexpr_lookup(const struct sexpr *sexpr, const char *node);
|
||||||
|
1395
src/xend_internal.c
1395
src/xend_internal.c
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "libvirt/libvirt.h"
|
#include "libvirt/libvirt.h"
|
||||||
#include "capabilities.h"
|
#include "capabilities.h"
|
||||||
|
#include "domain_conf.h"
|
||||||
#include "buf.h"
|
#include "buf.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@ -100,7 +101,10 @@ char *xenDaemonDomainDumpXMLByName(virConnectPtr xend,
|
|||||||
const char *value,
|
const char *value,
|
||||||
const char *tty);
|
const char *tty);
|
||||||
|
|
||||||
char *xend_parse_domain_sexp(virConnectPtr conn, char *root, int xendConfigVersion);
|
virDomainDefPtr
|
||||||
|
xenDaemonParseSxprString(virConnectPtr conn,
|
||||||
|
const char *sexpr,
|
||||||
|
int xendConfigVersion);
|
||||||
|
|
||||||
int is_sound_model_valid(const char *model);
|
int is_sound_model_valid(const char *model);
|
||||||
int is_sound_model_conflict(const char *model, const char *soundstr);
|
int is_sound_model_conflict(const char *model, const char *soundstr);
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<domain type='xen' id='5'>
|
<domain type='xen' id='5'>
|
||||||
<name>rhel5</name>
|
<name>rhel5</name>
|
||||||
<uuid>4f77abd2-3019-58e8-3bab-6fbf2118f880</uuid>
|
<uuid>4f77abd2-3019-58e8-3bab-6fbf2118f880</uuid>
|
||||||
|
<memory>394240</memory>
|
||||||
|
<currentMemory>179200</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<bootloader>/usr/bin/pygrub</bootloader>
|
<bootloader>/usr/bin/pygrub</bootloader>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
@ -8,9 +11,7 @@
|
|||||||
<initrd>/var/lib/xen/initrd.gULTf1</initrd>
|
<initrd>/var/lib/xen/initrd.gULTf1</initrd>
|
||||||
<cmdline>ro root=/dev/VolGroup00/LogVol00 rhgb quiet</cmdline>
|
<cmdline>ro root=/dev/VolGroup00/LogVol00 rhgb quiet</cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>394240</memory>
|
<clock offset='utc'/>
|
||||||
<currentMemory>179200</currentMemory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>restart</on_crash>
|
||||||
@ -21,15 +22,14 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1d:06:15'/>
|
||||||
<source bridge='xenbr0'/>
|
<source bridge='xenbr0'/>
|
||||||
<target dev='vif5.0'/>
|
<target dev='vif5.0'/>
|
||||||
<mac address='00:16:3e:1d:06:15'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
</interface>
|
||||||
<input type='mouse' bus='xen'/>
|
|
||||||
<graphics type='vnc' port='-1'/>
|
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='xen'/>
|
||||||
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>49a0c6ff-c066-5392-6498-3632d093c2e7</uuid>
|
<uuid>49a0c6ff-c066-5392-6498-3632d093c2e7</uuid>
|
||||||
<bootloader>/usr/bin/pygrub</bootloader>
|
|
||||||
<memory>524288</memory>
|
<memory>524288</memory>
|
||||||
<currentMemory>393216</currentMemory>
|
<currentMemory>393216</currentMemory>
|
||||||
<vcpu>1</vcpu>
|
<vcpu>1</vcpu>
|
||||||
|
<bootloader>/usr/bin/pygrub</bootloader>
|
||||||
|
<os>
|
||||||
|
<type>linux</type>
|
||||||
|
</os>
|
||||||
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
<on_crash>restart</on_crash>
|
<on_crash>restart</on_crash>
|
||||||
@ -16,10 +20,9 @@
|
|||||||
<shareable/>
|
<shareable/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:23:9e:eb'/>
|
||||||
<source bridge='xenbr0'/>
|
<source bridge='xenbr0'/>
|
||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
<mac address='00:16:3e:23:9e:eb'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
<domain type='xen' id='15'>
|
<domain type='xen' id='15'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
@ -8,14 +11,10 @@
|
|||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
<features>
|
|
||||||
</features>
|
|
||||||
<clock offset='utc'/>
|
|
||||||
<devices>
|
<devices>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>s10u4</name>
|
<name>s10u4</name>
|
||||||
<uuid>fde0533d-d043-88c6-dfba-4822fa32f309</uuid>
|
<uuid>fde0533d-d043-88c6-dfba-4822fa32f309</uuid>
|
||||||
|
<memory>1048576</memory>
|
||||||
|
<currentMemory>1048576</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>1048576</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<pae/>
|
<pae/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
||||||
<interface type='ethernet'>
|
<interface type='ethernet'>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='localtime'/>
|
<clock offset='localtime'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,19 +23,18 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,24 +23,23 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<parallel type='tcp'>
|
<parallel type='tcp'>
|
||||||
<source mode='connect' host='localhost' service='9999'/>
|
<source mode='connect' host='localhost' service='9999'/>
|
||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</parallel>
|
</parallel>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,17 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='file'>
|
<serial type='file'>
|
||||||
<source path='/tmp/serial.log'/>
|
<source path='/tmp/serial.log'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
@ -44,5 +42,7 @@
|
|||||||
<source path='/tmp/serial.log'/>
|
<source path='/tmp/serial.log'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,25 +23,24 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='null'>
|
<serial type='null'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='null'>
|
<console type='null'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,17 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='pipe'>
|
<serial type='pipe'>
|
||||||
<source path='/tmp/serial.pipe'/>
|
<source path='/tmp/serial.pipe'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
@ -44,5 +42,7 @@
|
|||||||
<source path='/tmp/serial.pipe'/>
|
<source path='/tmp/serial.pipe'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,25 +23,24 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='pty'>
|
<serial type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,25 +23,24 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='stdio'>
|
<serial type='stdio'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='stdio'>
|
<console type='stdio'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,17 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='tcp'>
|
<serial type='tcp'>
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
<protocol type='telnet'/>
|
<protocol type='telnet'/>
|
||||||
@ -46,5 +44,7 @@
|
|||||||
<protocol type='telnet'/>
|
<protocol type='telnet'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,17 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='tcp'>
|
<serial type='tcp'>
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
@ -46,5 +44,7 @@
|
|||||||
<protocol type='raw'/>
|
<protocol type='raw'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,29 +23,28 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='udp'>
|
<serial type='udp'>
|
||||||
<source mode='connect' host='localhost' service='9998'/>
|
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
|
<source mode='connect' host='localhost' service='9998'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='udp'>
|
<console type='udp'>
|
||||||
<source mode='connect' host='localhost' service='9998'/>
|
|
||||||
<source mode='bind' host='localhost' service='9999'/>
|
<source mode='bind' host='localhost' service='9999'/>
|
||||||
|
<source mode='connect' host='localhost' service='9998'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='1'>
|
<domain type='xen' id='1'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,17 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif1.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='ps2'/>
|
<interface type='bridge'>
|
||||||
<graphics type='vnc' port='5901'/>
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif1.0'/>
|
||||||
|
</interface>
|
||||||
<serial type='unix'>
|
<serial type='unix'>
|
||||||
<source mode='bind' path='/tmp/serial.sock'/>
|
<source mode='bind' path='/tmp/serial.sock'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
@ -44,5 +42,7 @@
|
|||||||
<source mode='bind' path='/tmp/serial.sock'/>
|
<source mode='bind' path='/tmp/serial.sock'/>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='5901' autoport='no'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1 +1 @@
|
|||||||
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'idontexit,es1370,all')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'all')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,21 +23,21 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
<sound model='sb16'/>
|
<sound model='sb16'/>
|
||||||
<sound model='es1370'/>
|
<sound model='es1370'/>
|
||||||
|
<sound model='pcspk'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1 +1 @@
|
|||||||
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'sb16,es1370,idontexist,es1370more')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'sb16,es1370')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,19 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
<sound model='sb16'/>
|
<sound model='sb16'/>
|
||||||
<sound model='es1370'/>
|
<sound model='es1370'/>
|
||||||
</devices>
|
</devices>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,19 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='usb'/>
|
<input type='mouse' bus='usb'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,20 +23,19 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='tablet' bus='usb'/>
|
<input type='tablet' bus='usb'/>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,19 +23,18 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
@ -29,12 +30,11 @@
|
|||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
<source bridge='xenbr0'/>
|
<source bridge='xenbr0'/>
|
||||||
<target dev='vif3.0'/>
|
<target dev='vif3.0'/>
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='-1' keymap='ja'/>
|
<graphics type='vnc' port='-1' autoport='yes' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
<domain type='xen' id='3'>
|
<domain type='xen' id='3'>
|
||||||
<name>fvtest</name>
|
<name>fvtest</name>
|
||||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||||
|
<memory>409600</memory>
|
||||||
|
<currentMemory>409600</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>409600</memory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>restart</on_reboot>
|
|
||||||
<on_crash>restart</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>restart</on_reboot>
|
||||||
|
<on_crash>restart</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='file' device='disk'>
|
<disk type='file' device='disk'>
|
||||||
@ -22,19 +23,18 @@
|
|||||||
<source file='/root/foo.img'/>
|
<source file='/root/foo.img'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
|
||||||
<source bridge='xenbr0'/>
|
|
||||||
<target dev='vif3.0'/>
|
|
||||||
<mac address='00:16:3e:1b:b1:47'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
|
||||||
<disk type='file' device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<driver name='file'/>
|
<driver name='file'/>
|
||||||
<source file='/root/boot.iso'/>
|
<source file='/root/boot.iso'/>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:1b:b1:47'/>
|
||||||
|
<source bridge='xenbr0'/>
|
||||||
|
<target dev='vif3.0'/>
|
||||||
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
<input type='mouse' bus='ps2'/>
|
||||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
<graphics type='vnc' port='5903' autoport='no' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
@ -19,10 +21,9 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:11:22:33:44:55'/>
|
||||||
<source bridge='xenbr2'/>
|
<source bridge='xenbr2'/>
|
||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
<mac address='00:11:22:33:44:55'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
@ -19,10 +21,9 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:11:22:33:44:55'/>
|
||||||
<source bridge='xenbr2'/>
|
<source bridge='xenbr2'/>
|
||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
<mac address='00:11:22:33:44:55'/>
|
|
||||||
<script path='vif-bridge'/>
|
|
||||||
<model type='e1000'/>
|
<model type='e1000'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
@ -19,10 +21,10 @@
|
|||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='ethernet'>
|
<interface type='ethernet'>
|
||||||
<target dev='vif6.0'/>
|
|
||||||
<mac address='00:11:22:33:44:55'/>
|
<mac address='00:11:22:33:44:55'/>
|
||||||
<ip address='172.14.5.6'/>
|
<ip address='172.14.5.6'/>
|
||||||
<script path='vif-routed'/>
|
<script path='vif-routed'/>
|
||||||
|
<target dev='vif6.0'/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>test</name>
|
<name>test</name>
|
||||||
<uuid>cc2315e7-d26a-307a-438c-6d188ec4c09c</uuid>
|
<uuid>cc2315e7-d26a-307a-438c-6d188ec4c09c</uuid>
|
||||||
|
<memory>391168</memory>
|
||||||
|
<currentMemory>358400</currentMemory>
|
||||||
|
<vcpu>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>hvm</type>
|
<type>hvm</type>
|
||||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||||
<boot dev='hd'/>
|
<boot dev='hd'/>
|
||||||
</os>
|
</os>
|
||||||
<memory>391168</memory>
|
|
||||||
<currentMemory>358400</currentMemory>
|
|
||||||
<vcpu>1</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
|
||||||
<on_reboot>destroy</on_reboot>
|
|
||||||
<on_crash>destroy</on_crash>
|
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<pae/>
|
<pae/>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
<on_reboot>destroy</on_reboot>
|
||||||
|
<on_crash>destroy</on_crash>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
||||||
<disk type='block' device='disk'>
|
<disk type='block' device='disk'>
|
||||||
@ -25,22 +25,22 @@
|
|||||||
<source dev='/dev/sda8'/>
|
<source dev='/dev/sda8'/>
|
||||||
<target dev='hda' bus='ide'/>
|
<target dev='hda' bus='ide'/>
|
||||||
</disk>
|
</disk>
|
||||||
<disk device='cdrom'>
|
<disk type='file' device='cdrom'>
|
||||||
<target dev='hdc' bus='ide'/>
|
<target dev='hdc' bus='ide'/>
|
||||||
<readonly/>
|
<readonly/>
|
||||||
</disk>
|
</disk>
|
||||||
<interface type='bridge'>
|
<interface type='bridge'>
|
||||||
|
<mac address='00:16:3e:0a:7b:39'/>
|
||||||
<source bridge='xenbr0'/>
|
<source bridge='xenbr0'/>
|
||||||
<target dev='vif6.0'/>
|
<target dev='vif6.0'/>
|
||||||
<mac address='00:16:3e:0a:7b:39'/>
|
|
||||||
</interface>
|
</interface>
|
||||||
<input type='mouse' bus='ps2'/>
|
|
||||||
<graphics type='vnc' port='-1'/>
|
|
||||||
<serial type='pty'>
|
<serial type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</serial>
|
</serial>
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='ps2'/>
|
||||||
|
<graphics type='vnc' port='-1' autoport='yes'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<bootloader>/usr/bin/pypxeboot</bootloader>
|
<bootloader>/usr/bin/pypxeboot</bootloader>
|
||||||
<bootloader_args>mac=AA:00:86:e2:35:72</bootloader_args>
|
<bootloader_args>mac=AA:00:86:e2:35:72</bootloader_args>
|
||||||
<memory>430080</memory>
|
<os>
|
||||||
<vcpu>2</vcpu>
|
<type>linux</type>
|
||||||
|
</os>
|
||||||
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
@ -18,10 +20,10 @@
|
|||||||
<source file='/root/some.img'/>
|
<source file='/root/some.img'/>
|
||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='xen'/>
|
|
||||||
<graphics type='vnc' port='-1' listen='0.0.0.0' keymap='ja'/>
|
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='xen'/>
|
||||||
|
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
@ -18,10 +20,10 @@
|
|||||||
<source file='/root/some.img'/>
|
<source file='/root/some.img'/>
|
||||||
<target dev='xvda' bus='xen'/>
|
<target dev='xvda' bus='xen'/>
|
||||||
</disk>
|
</disk>
|
||||||
<input type='mouse' bus='xen'/>
|
|
||||||
<graphics type='vnc' port='-1' listen='0.0.0.0' keymap='ja'/>
|
|
||||||
<console type='pty'>
|
<console type='pty'>
|
||||||
<target port='0'/>
|
<target port='0'/>
|
||||||
</console>
|
</console>
|
||||||
|
<input type='mouse' bus='xen'/>
|
||||||
|
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ja'/>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<domain type='xen' id='6'>
|
<domain type='xen' id='6'>
|
||||||
<name>pvtest</name>
|
<name>pvtest</name>
|
||||||
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
||||||
|
<memory>430080</memory>
|
||||||
|
<currentMemory>430080</currentMemory>
|
||||||
|
<vcpu>2</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type>linux</type>
|
<type>linux</type>
|
||||||
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
||||||
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
||||||
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
||||||
</os>
|
</os>
|
||||||
<memory>430080</memory>
|
<clock offset='utc'/>
|
||||||
<vcpu>2</vcpu>
|
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>destroy</on_reboot>
|
<on_reboot>destroy</on_reboot>
|
||||||
<on_crash>destroy</on_crash>
|
<on_crash>destroy</on_crash>
|
||||||
|
@ -24,19 +24,19 @@ static int testCompareFiles(const char *xml, const char *sexpr,
|
|||||||
char *xmlPtr = &(xmlData[0]);
|
char *xmlPtr = &(xmlData[0]);
|
||||||
char *sexprPtr = &(sexprData[0]);
|
char *sexprPtr = &(sexprData[0]);
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
virDomainDefPtr def = NULL;
|
||||||
|
|
||||||
if (virtTestLoadFile(xml, &xmlPtr, MAX_FILE) < 0) {
|
if (virtTestLoadFile(xml, &xmlPtr, MAX_FILE) < 0)
|
||||||
printf("Missing %s\n", xml);
|
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
|
||||||
|
|
||||||
if (virtTestLoadFile(sexpr, &sexprPtr, MAX_FILE) < 0) {
|
if (virtTestLoadFile(sexpr, &sexprPtr, MAX_FILE) < 0)
|
||||||
printf("Missing %s\n", sexpr);
|
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
|
||||||
|
|
||||||
if (!(gotxml = xend_parse_domain_sexp(NULL, sexprData, xendConfigVersion)))
|
if (!(def = xenDaemonParseSxprString(NULL, sexprData, xendConfigVersion)))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
if (!(gotxml = virDomainDefFormat(NULL, def, 0)))
|
||||||
|
goto fail;
|
||||||
|
|
||||||
if (STRNEQ(xmlData, gotxml)) {
|
if (STRNEQ(xmlData, gotxml)) {
|
||||||
virtTestDifference(stderr, xmlData, gotxml);
|
virtTestDifference(stderr, xmlData, gotxml);
|
||||||
@ -47,6 +47,7 @@ static int testCompareFiles(const char *xml, const char *sexpr,
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
free(gotxml);
|
free(gotxml);
|
||||||
|
virDomainDefFree(def);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -122,7 +123,7 @@ mymain(int argc, char **argv)
|
|||||||
DO_TEST("fv-utc", "fv-utc", 1);
|
DO_TEST("fv-utc", "fv-utc", 1);
|
||||||
DO_TEST("fv-localtime", "fv-localtime", 1);
|
DO_TEST("fv-localtime", "fv-localtime", 1);
|
||||||
DO_TEST("fv-usbmouse", "fv-usbmouse", 1);
|
DO_TEST("fv-usbmouse", "fv-usbmouse", 1);
|
||||||
DO_TEST("fv-usbmouse", "fv-usbmouse", 1);
|
DO_TEST("fv-usbtablet", "fv-usbtablet", 1);
|
||||||
DO_TEST("fv-kernel", "fv-kernel", 1);
|
DO_TEST("fv-kernel", "fv-kernel", 1);
|
||||||
|
|
||||||
DO_TEST("fv-serial-null", "fv-serial-null", 1);
|
DO_TEST("fv-serial-null", "fv-serial-null", 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user