xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* pvhvm cpu hotplug not working in xen 4.4
@ 2014-03-06 14:16 Kristoffer Egefelt
  2014-03-06 14:32 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Kristoffer Egefelt @ 2014-03-06 14:16 UTC (permalink / raw)
  To: Xen-devel

Is xl vcpu-set supposed to work with pvhvm in xen 4.4?

I’m trying with xen 4.4 rc-6 from git, getting libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported

Is some specific version of qemu needed?

Full output:

$ xl list
Name                                        ID   Mem VCPUs	State	Time(s)
pvhvm-template-vm101                175  7744     4     -b——       9.9

$ xl vcpu-set 175 5
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "cpu-add",
    "id": 2,
    "arguments": {
        "id": 0
    }
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "cpu-add",
    "id": 2,
    "arguments": {
        "id": 1
    }
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "cpu-add",
    "id": 2,
    "arguments": {
        "id": 2
    }
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "cpu-add",
    "id": 2,
    "arguments": {
        "id": 3
    }
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "qmp_capabilities",
    "id": 1
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
    "execute": "cpu-add",
    "id": 2,
    "arguments": {
        "id": 4
    }
}
'
libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
xc: debug: hypercall buffer: total allocations:9 total releases:9
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:7 misses:2 toobig:0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pvhvm cpu hotplug not working in xen 4.4
  2014-03-06 14:16 pvhvm cpu hotplug not working in xen 4.4 Kristoffer Egefelt
@ 2014-03-06 14:32 ` Ian Campbell
  2014-03-06 14:59   ` Anthony PERARD
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2014-03-06 14:32 UTC (permalink / raw)
  To: Kristoffer Egefelt; +Cc: Anthony Perard, Xen-devel

On Thu, 2014-03-06 at 15:16 +0100, Kristoffer Egefelt wrote:
> Is xl vcpu-set supposed to work with pvhvm in xen 4.4?
> 
> I’m trying with xen 4.4 rc-6 from git, getting libxl: error:
> libxl_qmp.c:287:qmp_handle_error_response: received an error message
> from QMP server: Not supported
> 
> Is some specific version of qemu needed?

Are you using the version tagged/shipped with 4.4-rc6 or one of your own
devising? ISTR Anthony fixing this not so long ago -- which would
suggest a fairly recent qemu was needed -- Anthony???

Ian

> 
> Full output:
> 
> $ xl list
> Name                                        ID   Mem VCPUs	State	Time(s)
> pvhvm-template-vm101                175  7744     4     -b——       9.9
> 
> $ xl vcpu-set 175 5
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "qmp_capabilities",
>     "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "cpu-add",
>     "id": 2,
>     "arguments": {
>         "id": 0
>     }
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
> libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "qmp_capabilities",
>     "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "cpu-add",
>     "id": 2,
>     "arguments": {
>         "id": 1
>     }
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
> libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "qmp_capabilities",
>     "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "cpu-add",
>     "id": 2,
>     "arguments": {
>         "id": 2
>     }
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
> libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "qmp_capabilities",
>     "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "cpu-add",
>     "id": 2,
>     "arguments": {
>         "id": 3
>     }
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
> libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-175
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "qmp_capabilities",
>     "id": 1
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:546:qmp_send_prepare: next qmp command: '{
>     "execute": "cpu-add",
>     "id": 2,
>     "arguments": {
>         "id": 4
>     }
> }
> '
> libxl: debug: libxl_qmp.c:296:qmp_handle_response: message type: error
> libxl: error: libxl_qmp.c:287:qmp_handle_error_response: received an error message from QMP server: Not supported
> xc: debug: hypercall buffer: total allocations:9 total releases:9
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
> xc: debug: hypercall buffer: cache current size:2
> xc: debug: hypercall buffer: cache hits:7 misses:2 toobig:0
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pvhvm cpu hotplug not working in xen 4.4
  2014-03-06 14:32 ` Ian Campbell
@ 2014-03-06 14:59   ` Anthony PERARD
  2014-03-07 10:02     ` Kristoffer Egefelt
  0 siblings, 1 reply; 5+ messages in thread
From: Anthony PERARD @ 2014-03-06 14:59 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Kristoffer Egefelt, Xen-devel

On Thu, Mar 06, 2014 at 02:32:48PM +0000, Ian Campbell wrote:
> On Thu, 2014-03-06 at 15:16 +0100, Kristoffer Egefelt wrote:
> > Is xl vcpu-set supposed to work with pvhvm in xen 4.4?
> > 
> > I’m trying with xen 4.4 rc-6 from git, getting libxl: error:
> > libxl_qmp.c:287:qmp_handle_error_response: received an error message
> > from QMP server: Not supported
> > 
> > Is some specific version of qemu needed?
> 
> Are you using the version tagged/shipped with 4.4-rc6 or one of your own
> devising? ISTR Anthony fixing this not so long ago -- which would
> suggest a fairly recent qemu was needed -- Anthony???

We might need to wait until 4.4.1 to get back this feature:
http://article.gmane.org/gmane.comp.emulators.xen.devel/188875

-- 
Anthony PERARD

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pvhvm cpu hotplug not working in xen 4.4
  2014-03-06 14:59   ` Anthony PERARD
@ 2014-03-07 10:02     ` Kristoffer Egefelt
  2014-03-10 16:33       ` Pasi Kärkkäinen
  0 siblings, 1 reply; 5+ messages in thread
From: Kristoffer Egefelt @ 2014-03-07 10:02 UTC (permalink / raw)
  To: Anthony PERARD; +Cc: Ian Campbell, Xen-devel

I would like this feature to be available, how complicated do you think it is to patch it ?
We don’t have extensive understanding of qemu, but if patching this are unlikely to break other functionality, we would try and fix it now.

What do you think? - I guess the only alternative would be to downgrade qemu from the one shipped with 4.4, which I’d like to avoid...


On 06/03/2014, at 15.59.33, Anthony PERARD <anthony.perard@citrix.com> wrote:

> On Thu, Mar 06, 2014 at 02:32:48PM +0000, Ian Campbell wrote:
>> On Thu, 2014-03-06 at 15:16 +0100, Kristoffer Egefelt wrote:
>>> Is xl vcpu-set supposed to work with pvhvm in xen 4.4?
>>> 
>>> I’m trying with xen 4.4 rc-6 from git, getting libxl: error:
>>> libxl_qmp.c:287:qmp_handle_error_response: received an error message
>>> from QMP server: Not supported
>>> 
>>> Is some specific version of qemu needed?
>> 
>> Are you using the version tagged/shipped with 4.4-rc6 or one of your own
>> devising? ISTR Anthony fixing this not so long ago -- which would
>> suggest a fairly recent qemu was needed -- Anthony???
> 
> We might need to wait until 4.4.1 to get back this feature:
> http://article.gmane.org/gmane.comp.emulators.xen.devel/188875
> 
> -- 
> Anthony PERARD
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pvhvm cpu hotplug not working in xen 4.4
  2014-03-07 10:02     ` Kristoffer Egefelt
@ 2014-03-10 16:33       ` Pasi Kärkkäinen
  0 siblings, 0 replies; 5+ messages in thread
From: Pasi Kärkkäinen @ 2014-03-10 16:33 UTC (permalink / raw)
  To: Kristoffer Egefelt; +Cc: Anthony PERARD, Ian Campbell, Xen-devel

On Fri, Mar 07, 2014 at 11:02:04AM +0100, Kristoffer Egefelt wrote:
> I would like this feature to be available, how complicated do you think it is to patch it ?
> We don?t have extensive understanding of qemu, but if patching this are unlikely to break other functionality, we would try and fix it now.
> 
> What do you think? - I guess the only alternative would be to downgrade qemu from the one shipped with 4.4, which I?d like to avoid...
> 

Xen 4.4.0 has now been released (without the pvhvm vcpu hotplug support in upstream qemu).

.. but the pvhvm vcpu hotplug patches are already in qemu-upstream-4.4-testing tree:
http://xenbits.xen.org/gitweb/?p=qemu-upstream-4.4-testing.git;a=summary

So you can grab the patches from there and apply to your 4.4.0 version,
or just use the latest qemu-upstream-4.4-testing.git tree directly.

Those patches will be part of upcoming Xen 4.4.1 release.

Another option probably is to use qemu-traditional with Xen 4.4.0 .. ? 

-- Pasi

> 
> On 06/03/2014, at 15.59.33, Anthony PERARD <anthony.perard@citrix.com> wrote:
> 
> > On Thu, Mar 06, 2014 at 02:32:48PM +0000, Ian Campbell wrote:
> >> On Thu, 2014-03-06 at 15:16 +0100, Kristoffer Egefelt wrote:
> >>> Is xl vcpu-set supposed to work with pvhvm in xen 4.4?
> >>> 
> >>> I?m trying with xen 4.4 rc-6 from git, getting libxl: error:
> >>> libxl_qmp.c:287:qmp_handle_error_response: received an error message
> >>> from QMP server: Not supported
> >>> 
> >>> Is some specific version of qemu needed?
> >> 
> >> Are you using the version tagged/shipped with 4.4-rc6 or one of your own
> >> devising? ISTR Anthony fixing this not so long ago -- which would
> >> suggest a fairly recent qemu was needed -- Anthony???
> > 
> > We might need to wait until 4.4.1 to get back this feature:
> > http://article.gmane.org/gmane.comp.emulators.xen.devel/188875
> > 
> > -- 
> > Anthony PERARD
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-10 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 14:16 pvhvm cpu hotplug not working in xen 4.4 Kristoffer Egefelt
2014-03-06 14:32 ` Ian Campbell
2014-03-06 14:59   ` Anthony PERARD
2014-03-07 10:02     ` Kristoffer Egefelt
2014-03-10 16:33       ` Pasi Kärkkäinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).