<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
name = "test"<br>uuid = "287fe83e-8d9a-c935-6026-c9ea85b60e87"<br>maxmem = 7168<br>memory = 7168<br>vcpus = 7<br>builder = "hvm"<br>kernel = "/usr/lib/xen/boot/hvmloader"<br>boot = "c"<br>pae = 1<br>acpi = 1<br>apic = 1<br>localtime = 0<br>on_poweroff = "destroy"<br>on_reboot = "restart"<br>on_crash = "restart"<br>device_model = "/usr/lib/xen/bin/stubdom-dm"<br>vfb = [ "type=vnc,vncunused=1" ]<br>disk = [ "phy:/dev/sys/lv0,hda,w", "phy:/dev/sys/lv1,hdb,w", "phy:/dev/sys/lv2,h<br>dc,w" ]<br>vif = [ "mac=00:50:56:0f:dd:02,bridge=eth0,script=vif-bridge" ]<br>parallel = "none"<br>serial = "none"<br><br><br><br><br>Thanks it worked.<br> <br>
-M<br><br><br><br><br>> Date: Sat, 20 Mar 2010 11:19:05 +0100<br>> Subject: Re: [libvirt-users] virsh domxml-to-native xen-xm request<br>> From: matthias.bolte@googlemail.com<br><br>> 2010/3/20 Mike Viau <viaum@sheridanc.on.ca>:<br>> > Hello,<br>> ><br>> > I was looking at http://libvirt.org/drvxen.html<br>> ><br>> > And realized that "virsh domxml-to-native" may be used to convert the<br>> > 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 ><br>> > /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<br>> > xen-xm new_vm1.xml<br>> ><br>> <br>> Do you just run this command?<br>> <br>>    virsh domxml-to-native xen-xm new_vm1.xml > /etc/xen/new_vm1<br>> <br>> If you don't specify an explicit connection URI, or have<br>> VIRSH_DEFAULT_CONNECT_URI set to to some Xen connection URI, then<br>> libvirt will try to autodetect your hypervisor and might find QEMU. In<br>> that case I can reproduce the reported error.<br>> <br>> To make it work you need to specify a proper connection URI, for example<br>> <br>>    virsh -c xen:/// domxml-to-native xen-xm new_vm1.xml > /etc/xen/new_vm1<br>> <br>> or whatever URI you need for your setup.<br>> <br>> Matthias<br>                                          <br /><hr />Take your contacts everywhere.  <a href='http://go.microsoft.com/?linkid=9712958' target='_new'>Try Messenger for mobile</a></body>
</html>