I''m trying to set up and run a kernel (Windows XP) fully virtualized, so far without success. Here''s the situation: -- a fresh install of CentOS 5.3 -- an ISO image of the Windows installation CD -- using /usr/bin/virt-install to create a disk image and xm configuration file, and to start the domain. The result: virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not working.'') And "xm dmesg" reports: hvm.c:1170:d0 Bad HVM op 8 What should I do to track down the source of this problem? What does "Bad HVM op 8" mean? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, May 7, 2009 at 11:01 PM, Franklin Webber <franklin@grammatech.com> wrote:> I''m trying to set up and run a kernel (Windows XP) > fully virtualized, so far without success. > Here''s the situation: > -- a fresh install of CentOS 5.3 > -- an ISO image of the Windows installation CD > -- using /usr/bin/virt-install to createIf you like virt-install, you might find virt-manager easier as it provides GUI.> a disk image and xm configuration file,Can you post the resulting configuration file?> and to start the domain. > > The result: > > virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 > (vif) could not be connected. Hotplug scripts not working.'')Usually this is because: - you assign non-existent bridge, or - udevd is dead, you need to restart it Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank you for your reply, Fajar! You wrote: >> I''m trying to set up and run a kernel (Windows XP) >> fully virtualized, so far without success. >> Here''s the situation: >> -- a fresh install of CentOS 5.3 >> -- an ISO image of the Windows installation CD >> -- using /usr/bin/virt-install to create >> a disk image and xm configuration file, > >Can you post the resulting configuration file? Digging into the Python scripts, I find that the configuration is placed into XML and not into a configuration file of the kind I normally feed to "xm". I''ve appended that XML configuration to this message. Also, noting that the problem occurs in a Python function named virDomainCreateLinux() , I tried the same experiment with a Linux installation ISO rather than Windows; same result. >> virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 >> (vif) could not be connected. Hotplug scripts not working.'') > >Usually this is because: >- you assign non-existent bridge, or >- udevd is dead, you need to restart it "ps" reports that "/sbin/udevd -d" is running. "ifconfig" reports that "eth0" exists. Is that as it should be? <domain type=''xen''> <name>virtC</name> <currentMemory>524288</currentMemory> <memory>524288</memory> <uuid>f3a863b1-52a7-0848-b97b-86d0c1bc694d</uuid> <os> <type arch=''i686''>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <boot dev=''cdrom''/> </os> <features> <acpi/><apic/><pae/> </features> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <vcpu>1</vcpu> <devices> <emulator>/usr/lib/xen/bin/qemu-dm</emulator> <console device=''pty''/> <disk type=''file'' device=''disk''> <source file=''/root/virtC.img''/> <target dev=''hda''/> </disk> <disk type=''file'' device=''cdrom''> <source file=''/root/opensuse.iso''/> <target dev=''hdc''/> <readonly/> </disk> <interface type=''bridge''> <source bridge=''eth0''/> <mac address=''00:16:3e:70:56:8b''/> </interface> <input type=''mouse'' bus=''ps2''/> <graphics type=''vnc'' port=''-1'' /> </devices> </domain> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 8, 2009 at 11:40 PM, Franklin Webber <franklin@grammatech.com> wrote:> <interface type=''bridge''> > <source bridge=''eth0''/>Is your bridge eth0 or xenbr0? Try running "brctl show". _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar wrote: >> <interface type=''bridge''> >> <source bridge=''eth0''/> > >Is your bridge eth0 or xenbr0? Try running "brctl show". That yields: bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes xenbr0 8000.0016761638c3 no eth0 Is that what it should be? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, May 9, 2009 at 4:12 AM, Franklin Webber <franklin@grammatech.com> wrote:> Fajar wrote: >>> <interface type=''bridge''> >>> <source bridge=''eth0''/> >> >>Is your bridge eth0 or xenbr0? Try running "brctl show". > > That yields: > > bridge name bridge id STP enabled interfaces > virbr0 8000.000000000000 yes > xenbr0 8000.0016761638c3 no eth0 > > Is that what it should be?In that case you should use "xenbr0" as bridge for domU config, and NOT eth0. You could also use "virbr0", which would create a NAT networking for domU. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users