Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-21 Thread Jes Sorensen
On 02/21/11 14:36, Michael Roth wrote: > On 02/21/2011 02:32 AM, Jes Sorensen wrote: >> Well that isn't really different from the current setup - if QEMU >> migrates, the admin tool has to connect to the new QEMU process and >> issue the fsthaw command there instead. >> > > Another thing to consid

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-21 Thread Michael Roth
On 02/21/2011 02:32 AM, Jes Sorensen wrote: On 02/18/11 15:57, Anthony Liguori wrote: On 02/18/2011 08:30 AM, Jes Sorensen wrote: However if there's an agent connection, it could be arranged in a way allowing the host to reconnect to the guest agent. In that way it really shouldn't be a big dea

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-21 Thread Jes Sorensen
On 02/18/11 15:57, Anthony Liguori wrote: > On 02/18/2011 08:30 AM, Jes Sorensen wrote: >> However if there's an agent connection, it could be arranged in a way >> allowing the host to reconnect to the guest agent. In that way it really >> shouldn't be a big deal as long as our agent commands aren'

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Anthony Liguori
On 02/18/2011 09:22 AM, Gerd Hoffmann wrote: Hi, It may not be so fundamental, but it still makes me wary. XMLRPC handling is quite high level and introduces the potential of errors that are outside of our direct control. Personally I don't see the big benefit of having virtagent terminate

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Gerd Hoffmann
Hi, It may not be so fundamental, but it still makes me wary. XMLRPC handling is quite high level and introduces the potential of errors that are outside of our direct control. Personally I don't see the big benefit of having virtagent terminate in QEMU, Live migration. If it's a separate da

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Anthony Liguori
On 02/18/2011 08:30 AM, Jes Sorensen wrote: On 02/18/11 15:07, Anthony Liguori wrote: On 02/18/2011 06:45 AM, Jes Sorensen wrote: It may not be so fundamental, but it still makes me wary. XMLRPC handling is quite high level and introduces the potential of errors that are outside of ou

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Jes Sorensen
On 02/18/11 15:07, Anthony Liguori wrote: > On 02/18/2011 06:45 AM, Jes Sorensen wrote: >> It may not be so fundamental, but it still makes me wary. XMLRPC >> handling is quite high level and introduces the potential of errors that >> are outside of our direct control. Personally I don't see the bi

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Anthony Liguori
On 02/18/2011 06:45 AM, Jes Sorensen wrote: On 02/17/11 15:39, Michael Roth wrote: On 02/17/2011 02:26 AM, Jes Sorensen wrote: On 02/16/11 18:22, Michael Roth wrote: worry is that we are adding a lot of complexity into QEMU on the host side which is going to be difficult to audit, esp

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-18 Thread Jes Sorensen
On 02/17/11 15:39, Michael Roth wrote: > On 02/17/2011 02:26 AM, Jes Sorensen wrote: >> On 02/16/11 18:22, Michael Roth wrote: >> worry is that we are adding a lot of complexity into QEMU on the host >> side which is going to be difficult to audit, especially with things >> like the HTML and XML pr

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-17 Thread Michael Roth
On 02/17/2011 02:26 AM, Jes Sorensen wrote: On 02/16/11 18:22, Michael Roth wrote: We've seen similar behavior. I think it comes down to qemu-va being linked against shared objects in the host that don't necessarily coincide with what's in the guest. It's somewhat misleading that we currently bu

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-17 Thread Dor Laor
On 02/17/2011 10:26 AM, Jes Sorensen wrote: On 02/16/11 18:22, Michael Roth wrote: We've seen similar behavior. I think it comes down to qemu-va being linked against shared objects in the host that don't necessarily coincide with what's in the guest. It's somewhat misleading that we currently bu

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-17 Thread Jes Sorensen
On 02/16/11 18:22, Michael Roth wrote: > We've seen similar behavior. I think it comes down to qemu-va being > linked against shared objects in the host that don't necessarily > coincide with what's in the guest. It's somewhat misleading that we > currently build qemu-va along with the binary, sinc

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-16 Thread Michael Roth
On 02/16/2011 10:04 AM, Jes Sorensen wrote: On 01/17/11 14:14, Michael Roth wrote: These patches apply to master (1-14-2011), and can also be obtained from: git://repo.or.cz/qemu/mdroth.git virtagent_v6 CHANGES IN V6: - Added a sentinel value to reliably detect the start of an "http" hdr. Us

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-16 Thread Jes Sorensen
On 01/17/11 14:14, Michael Roth wrote: > These patches apply to master (1-14-2011), and can also be obtained from: > git://repo.or.cz/qemu/mdroth.git virtagent_v6 > > CHANGES IN V6: > > - Added a sentinel value to reliably detect the start of an "http" hdr. Used > to skip past partially sent ht

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-14 Thread Gerd Hoffmann
Hi, A brain-dump on how we're planning to do this. I tried to keep it concise, but that only went so far :) We extend qemu-va, the virtagent guest agent, to be able to create a unix socket in the guest that listens for connections. [ ... ] 1) There may be user-level RPCs that are generall

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-02-01 Thread Michael Roth
On 01/31/2011 08:41 AM, Michael Roth wrote: On 01/18/2011 08:13 AM, Anthony Liguori wrote: On 01/18/2011 08:02 AM, Gerd Hoffmann wrote: On 01/17/11 15:53, Michael Roth wrote: On 01/17/2011 07:53 AM, Gerd Hoffmann wrote: What is your plan to handle system-level queries+actions (such as reboot)

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-31 Thread Michael Roth
On 01/18/2011 08:13 AM, Anthony Liguori wrote: On 01/18/2011 08:02 AM, Gerd Hoffmann wrote: On 01/17/11 15:53, Michael Roth wrote: On 01/17/2011 07:53 AM, Gerd Hoffmann wrote: What is your plan to handle system-level queries+actions (such as reboot) vs. per-user stuff (such as cut+paste)? Th

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-18 Thread Anthony Liguori
On 01/18/2011 08:02 AM, Gerd Hoffmann wrote: On 01/17/11 15:53, Michael Roth wrote: On 01/17/2011 07:53 AM, Gerd Hoffmann wrote: What is your plan to handle system-level queries+actions (such as reboot) vs. per-user stuff (such as cut+paste)? This is an area that hasn't been well-defined yet

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-18 Thread Gerd Hoffmann
On 01/17/11 15:53, Michael Roth wrote: On 01/17/2011 07:53 AM, Gerd Hoffmann wrote: What is your plan to handle system-level queries+actions (such as reboot) vs. per-user stuff (such as cut+paste)? This is an area that hasn't been well-defined yet and is definitely open for suggestions. One

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-17 Thread Michael Roth
On 01/17/2011 07:53 AM, Gerd Hoffmann wrote: Hi, OVERVIEW: There are a wide range of use cases motivating the need for a guest agent of some sort to extend the functionality/usability/control offered by QEMU. Some examples include graceful guest shutdown/reboot and notifications thereof, copy/

Re: [Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-17 Thread Gerd Hoffmann
Hi, OVERVIEW: There are a wide range of use cases motivating the need for a guest agent of some sort to extend the functionality/usability/control offered by QEMU. Some examples include graceful guest shutdown/reboot and notifications thereof, copy/paste syncing between host/guest, guest stat

[Qemu-devel] [RFC][PATCH v6 00/23] virtagent: host/guest RPC communication agent

2011-01-17 Thread Michael Roth
These patches apply to master (1-14-2011), and can also be obtained from: git://repo.or.cz/qemu/mdroth.git virtagent_v6 CHANGES IN V6: - Added a sentinel value to reliably detect the start of an "http" hdr. Used to skip past partially sent http content from previous "sessions" - Added http hdr