[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Cannot create domU on Xen 4.1.2



I am using libvirtd to create domU

So I use "virsh create <xmlfile>" .

The xml file goes like this;
======================================================================
<domain type="xen">
    <name>test</name>
    <clock offset="localtime" />
    <devices>
        <console></console>
        <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
        <graphics keymap="en-us" port="5901" type="vnc" autoport="yes" />
        <disk type='file' device='disk'>
            <driver name='file' />
            <source file='/stg/test/test.vhd' />
            <target dev='hda' />
        </disk>
        <disk type='file' device='cdrom'>
            <readonly />
            <target dev='hdc' />
        </disk>
        <interface type="bridge">
            <mac address="00:16:3e:a2:c6:bd" />
            <source bridge="xenbr2" />
        </interface>
        <input type='tablet' bus='usb'/>
    </devices>
    <features>
        <acpi></acpi>
        <apic></apic>
        <pae></pae>
    </features>
    <memory>2097152</memory>
    <on_crash>preserve</on_crash>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <os>
    <boot dev="hd" />
        <loader>/usr/lib/xen/boot/hvmloader</loader>
        <type>hvm</type>
    </os>
    <uuid>b1cd0781-e41d-4c37-897e-3ba2b1745f6e</uuid>
    <vcpu>2</vcpu>
</domain>

============================================================================
===========

it is working under xen 3.4.2. 

I am trying to upgrade xen version from 3.4.2 to 4.1.2(or 4.X.X) 
FYI, I have "right" vhd file in "right" location
And I have enough memory, enough cpu and disk space


VHD and xml file is working well under xen 3.4.2.

Thank you for your attention !


> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mark van Dijk
> Sent: Tuesday, February 14, 2012 8:19 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Cannot create domU on Xen 4.1.2
> 
> Hi,
> 
> > /var/log/xen/xend.log shows
> (..snip..)
> 
> > VmError: Device 0 (vif) could not be connected. Hotplug scripts not
> > working.
> 
> This error usually occurs because the VM crashes before the vif can be
> connected. So it's probably not the real error.... usually something
> else is up.
> 
> What are you trying to do? Show us your domU config please.
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.