Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-10 Thread Daniel P. Berrange
On Wed, Aug 10, 2016 at 02:32:47PM +0800, Chen Hanxiao wrote: > 在 2016-08-09 19:03:32,"Andrea Bolognani" 写道: > >On Mon, 2016-08-08 at 16:19 +0100, Daniel P. Berrange wrote: > >> IOW, I don't think we should ever expose the qemu guest agent exec command > >> via libvirt APIs. > >>  > >> If people w

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Chen Hanxiao
At 2016-08-09 19:02:18, "Daniel P. Berrange" wrote: >On Tue, Aug 09, 2016 at 05:57:44PM +0800, Chen Hanxiao wrote: >> >> At 2016-08-08 23:19:26, "Daniel P. Berrange" wrote: >> >On Mon, Aug 08, 2016 at 05:00:38PM +0200, Michal Privoznik wrote: >> >> Dear list, >> >> >> >> while wiring qemu-ga in

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Chen Hanxiao
在 2016-08-09 19:03:32,"Andrea Bolognani" 写道: >On Mon, 2016-08-08 at 16:19 +0100, Daniel P. Berrange wrote: >> IOW, I don't think we should ever expose the qemu guest agent exec command >> via libvirt APIs. >>  >> If people want a general purpose exec facility, they can trivially write >> a much be

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Andrea Bolognani
On Mon, 2016-08-08 at 16:19 +0100, Daniel P. Berrange wrote: > IOW, I don't think we should ever expose the qemu guest agent exec command > via libvirt APIs. >  > If people want a general purpose exec facility, they can trivially write > a much better exec feature via a separate virtio-serial chann

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Daniel P. Berrange
On Tue, Aug 09, 2016 at 05:48:45PM +0800, Chen Hanxiao wrote: > > At 2016-08-08 23:00:38, "Michal Privoznik" wrote: > >Dear list, > > > >while wiring qemu-ga into libvirt I've noticed that it has ability to > >spawn commands inside guest. I haven't paid much attention to it then as > >implementin

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Daniel P. Berrange
On Tue, Aug 09, 2016 at 05:57:44PM +0800, Chen Hanxiao wrote: > > At 2016-08-08 23:19:26, "Daniel P. Berrange" wrote: > >On Mon, Aug 08, 2016 at 05:00:38PM +0200, Michal Privoznik wrote: > >> Dear list, > >> > >> while wiring qemu-ga into libvirt I've noticed that it has ability to > >> spawn co

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Chen Hanxiao
At 2016-08-08 23:19:26, "Daniel P. Berrange" wrote: >On Mon, Aug 08, 2016 at 05:00:38PM +0200, Michal Privoznik wrote: >> Dear list, >> >> while wiring qemu-ga into libvirt I've noticed that it has ability to >> spawn commands inside guest. I haven't paid much attention to it then as >> implemen

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-09 Thread Chen Hanxiao
At 2016-08-08 23:00:38, "Michal Privoznik" wrote: >Dear list, > >while wiring qemu-ga into libvirt I've noticed that it has ability to >spawn commands inside guest. I haven't paid much attention to it then as >implementing libvirt <-> qemu-ga communication was more important. But >lately couple o

Re: [libvirt] [RFC] Design executing commands from within domains

2016-08-08 Thread Daniel P. Berrange
On Mon, Aug 08, 2016 at 05:00:38PM +0200, Michal Privoznik wrote: > Dear list, > > while wiring qemu-ga into libvirt I've noticed that it has ability to > spawn commands inside guest. I haven't paid much attention to it then as > implementing libvirt <-> qemu-ga communication was more important. B

[libvirt] [RFC] Design executing commands from within domains

2016-08-08 Thread Michal Privoznik
Dear list, while wiring qemu-ga into libvirt I've noticed that it has ability to spawn commands inside guest. I haven't paid much attention to it then as implementing libvirt <-> qemu-ga communication was more important. But lately couple of requests on the list showed up where ability to spawn va