Re: [libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-07-11 Thread Daniel P. Berrange
On Fri, Jul 08, 2011 at 02:52:36PM -0600, Eric Blake wrote: > On 07/04/2011 04:28 AM, Daniel P. Berrange wrote: > > Introduce a new API in libvirt-qemu.so > > > > virDomainPtr virDomainQemuAttach(virConnectPtr domain, > > unsigned long long pid, > > We already a

Re: [libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-07-08 Thread Eric Blake
On 07/04/2011 04:28 AM, Daniel P. Berrange wrote: > Introduce a new API in libvirt-qemu.so > > virDomainPtr virDomainQemuAttach(virConnectPtr domain, > unsigned long long pid, We already assert elsewhere in our code base that pid_t will always fit in int. For e

Re: [libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-07-08 Thread Daniel P. Berrange
On Tue, Jul 05, 2011 at 12:54:32PM +0200, Matthias Bolte wrote: > 2011/7/4 Daniel P. Berrange : > > Introduce a new API in libvirt-qemu.so > > > >  virDomainPtr virDomainQemuAttach(virConnectPtr domain, > >                                  unsigned long long pid, > >                                

Re: [libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-07-05 Thread Matthias Bolte
2011/7/4 Daniel P. Berrange : > Introduce a new API in libvirt-qemu.so > >  virDomainPtr virDomainQemuAttach(virConnectPtr domain, >                                  unsigned long long pid, >                                  unsigned int flags); > > This allows libvirtd to attach to an existing, ex

[libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-07-04 Thread Daniel P. Berrange
Introduce a new API in libvirt-qemu.so virDomainPtr virDomainQemuAttach(virConnectPtr domain, unsigned long long pid, unsigned int flags); This allows libvirtd to attach to an existing, externally launched QEMU process. This is

[libvirt] [PATCH 1/8] Define a QEMU specific API to attach to a running QEMU process

2011-06-20 Thread Daniel P. Berrange
Introduce a new API in libvirt-qemu.so virDomainPtr virDomainQemuAttach(virConnectPtr domain, unsigned long long pid, unsigned int flags); This allows libvirtd to attach to an existing, externally launched QEMU process. This is