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

Re: [Xen-users] Issues with vcpu-set



On Thu, 2014-01-30 at 09:35 -0700, Yun Wang wrote:
> See if I am doing it correctly.
> 
> 1. setup a loopback device
> losetup /dev/loop0 /vms/centos65_pv.img
> 
> 2. check the output of "losetup -a"
> /dev/loop0: [fb00]:926576 (/vms/centos65_pv.img)
> 
> 3. use the loopback device in the PV config
> disk = [ 'phy:/dev/loop0, xvda, w']
> 
> However, similar error still exists.

Oh, you'll also need to nix your vfb I'm afraid...

If you are comfortable patching C code then you could try modifying
tools/libxl/libxl.c:libxl_set_vcpuonline() to call libxl__domain_type
and arrange to call libxl__set_vcpuonline_xenstore for PV guests and the
existing logic for HVM guests to choose between _xenstore and _qmp.

If you are comfortable doing that then please submit a patch.
http://wiki.xen.org/wiki/Submitting_Xen_Patches has some general
guidance.

Ian.

> 
> On Thu, Jan 30, 2014 at 9:12 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Thu, 2014-01-30 at 09:04 -0700, Yun Wang wrote:
> >> What disk option should I use for a PV guest? tap2:aio seems to have a
> >> similar issue with "xl vcpu-set"
> >
> > To workaround the issue you would need phy: I think, perhaps by setting
> > up a loopback device on the raw image by hand.
> >
> > Hopefully the underlying issue can get fixed though.
> >
> > Ian.
> >



_______________________________________________
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®.