<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><br>I was looking at <a href="http://libvirt.org/drvxen.html">http://libvirt.org/drvxen.html</a><br>
<br>
And realized that "<code><span style="font-size: 10pt; line-height: 115%;">virsh
domxml-to-native" </span></code>may be used to convert the libvirt xml formatted domU
configuration to native. <br><br>The configuration is for stubdom-dm Xen guests.<br><br>Syntax appears to be virsh domxml-to-native xen-xm new_vm1.xml > /etc/xen/new_vm1 but I get an error.<br><br>error: invalid argument in unsupported config type xen-xm<br><br><br>Can someone please post their output of the command: virsh domxml-to-native xen-xm new_vm1.xml <br><br><br>The working libvirt XML formatted Xen DomU config (new_vm1.xml)
<blockquote cite="mid:BAY107-W2306579368CDF6F44CAE3EEF2D0@phx.gbl">
</blockquote>
<br><br>
<domain type='xen'><br>
<name>test</name><br>
<os><br>
<type>hvm</type><br>
<loader>/usr/lib/xen/boot/hvmloader</loader><br>
<boot dev='hd'/><br>
</os><br>
<br>
<memory>7340032</memory><br>
<vcpu>7</vcpu><br>
<on_poweroff>destroy</on_poweroff><br>
<on_reboot>restart</on_reboot><br>
<on_crash>restart</on_crash><br>
<features><br>
<pae/><br>
<acpi/><br>
<apic/><br>
</features><br>
<clock offset='utc'/><br>
<br>
<devices><br>
<emulator>/usr/lib/xen/bin/stubdom-dm</emulator><br>
<br>
<interface type='bridge'><br>
<source bridge='eth0'/><br>
<mac address='00:50:56:0f:dd:02'/><br>
</interface><br>
<br>
<disk type='block' device='disk'><br>
<source dev='/dev/sys/lv0'/><br>
<target dev='hda'/><br>
</disk><br>
<disk type='block' device='disk'><br>
<source dev='/dev/sys/lv1'/><br>
<target dev='hdb'/><br>
</disk><br>
<disk type='block' device='disk'><br>
<source dev='/dev/sys/lv2'/><br>
<target dev='hdc'/><br>
</disk><br>
<br>
<!-- stub domains don't have access to dom0's ptys, so this is not
possible<br>
<serial type='pty'><br>
</serial><br>
--><br>
<br>
<graphics type='vnc' autoport='yes'/><br>
<br>
</devices><br>
</domain><br>
<br><br>-M<br> <br /><hr />Don't miss a beat <a href='http://go.microsoft.com/?linkid=9712961' target='_new'>Get Messenger on your phone</a></body>
</html>