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

[Xen-users] libvirt <emulator> /usr/local/lib/xen/bin/qemu-dm <emulator> did not work on xen-4.4


  • To: xen-users@xxxxxxxxxxxxx
  • From: hanyandong <hanyandong@xxxxxxxxx>
  • Date: Fri, 14 Nov 2014 19:38:31 +0800 (GMT+08:00)
  • Delivery-date: Fri, 14 Nov 2014 11:39:44 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

I run a VM on xen-4.4.0  , libvirt-1.2.9

ubuntu.xml

<domain type='xen'>
    <name>xubuntu12.xml</name>
    <memory>4131072</memory>
    <currentMemory>4131072</currentMemory>
    <vcpu>1</vcpu>
    <os>
        <type arch='x86_64' >hvm</type>
        <loader>/usr/local/lib/xen/boot/hvmloader</loader>
        <boot dev='hd'/>
    </os>
    <features>
        <pae/>
        <acpi/>
        <apic/>
    </features>
    <clock offset='localtime'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
        <emulator>/usr/local/lib/xen/bin/qemu-dm</emulator>
        <disk type='file'>
            <source file='/home/rip/Documents/xubuntu_12_x64.img'/>
            <target dev='hda'/>
        </disk>
        <interface type='bridge'>
            <source bridge='xenbr0'/>
        </interface>
        <input type='tablet' bus='usb'/>
        <input type='mouse' bus='ps2'/>
        <graphics type='vnc' port='70001' autoport='no' listen='0.0.0.0'/>
    </devices>
</domain>


But,  I run "ps aux | grep xen"  , I found it was qemu-system-i386 work.

/usr/local/lib/xen/bin/qemu-system-i386 -xen-domid 5 -chardev socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-5,server,nowait -mon chardev=libxl-cmd,mode=control -nodefaults -name xubuntu12_x64 -vnc 127.0.0.1:0,to=99 -serial pty -device cirrus-vga -global vga.vram_size_mb=8 -boot order=dc -usb -usbdevice tablet -device rtl8139,id=nic0,netdev=net0,mac=00:16:3e:65:48:5d -netdev type=tap,id=net0,ifname=vif5.0-emu,script=no,downscript=no -machine pc,accel=xen -m 4088 -drive file=/home/rip/Documents/xubuntu_12_x64.img,if=ide,index=0,media=disk,format=raw,cache=writeback


how can I use qemu-dm with libvirt? anyone can help?


--
Best Regards,
yandong



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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