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

Re: Is: Xen 4.1.1, xend, HVM, 3.1 kernel; Was:Re: [Xen-devel] xen 4.2 unstable; HVM; 2.6.39.3; HD/Network card error



On Tue, Nov 08, 2011 at 11:09:11AM +0000, Stefano Stabellini wrote:
> On Mon, 7 Nov 2011, Konrad Rzeszutek Wilk wrote:
> > > > XENBUS: Timeout connecting to device: device/vkbd/0 (local state 3, 
> > > > remote state 1)
> > > > [which seems odds as the vkb from VNC looks to be working]
> > > 
> > > Thanks for pointing this out: I enabled vkbd in upstream qemu but I
> > > forgot to do the same in qemu-xen so as a result you would get failures
> > > of this kind.
> > 
> > Oh boy. Seems that there are a couple of issues here. It might be that the
> > timeout I had experienced was _only_ related to this and the other were 
> > red-herrings.
> > 
> > You might want to make sure M A Young and Stefan Bader are CC-ed on your 
> > Xen 4.1.1
> > patch so they can pull it in.
> 
> Actually I have just realized that the vkbd feature couldn't possibly
> have been backported to xen 4.1.1. In fact I didn't even add any vkbd
> devices for HVM guests in XL in xen-unstable yet.
> Of course this was to avoid situations like this one.
> 
> So my guess is that when you use "vfb" in an HVM guest config file
> you cause xend to create a vkbd device that is without backend.
> A PV on HVM guest would try to connect to it but it wouldn't get any
> response back so it would timeout.
> 
> The solution to this problem is to avoid using vfb in the config file. I
> strongly hope that the config file you showed us before is not generated
> by libvirt somehow. If it is we need to file a bug against libvirt.

It looks like it is:

[root@phenom Mail]# virsh dumpxml f16_64 > /tmp/a
[root@phenom Mail]# virsh  domxml-to-native xen-xm /tmp/a
name = "f16_64"
uuid = "587ea6cf-8296-a4d3-86e2-d8afa991bd4b"
maxmem = 1024
memory = 1024
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 1
apic = 1
hap = 0
viridian = 0
localtime = 0
hpet = 0
on_poweroff = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
device_model = "/usr/lib64/xen/bin/qemu-dm"
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "phy:/dev/vg_guest/f16_64,hda,w", 
"file:/mnt/iso/Fedora-16-x86_64-DVD.iso,hdc:cdrom,r" ]
vif = [ "mac=00:16:3e:44:07:4b,bridge=switch,script=vif-bridge,vifname=vif7.0" ]
parallel = "none"
serial = "pty"


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

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


 


Rackspace

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