Re: [Libvir] [PATCH] Check the version of Xen in xenDaemonAttachDevice()

2007-08-16 Thread Daniel Veillard
On Thu, Aug 16, 2007 at 02:56:07PM +0100, Daniel P. Berrange wrote: > On Thu, Aug 16, 2007 at 09:27:04AM -0400, Daniel Veillard wrote: > > On Thu, Aug 16, 2007 at 05:41:47PM +0900, Masayuki Sunou wrote: > > > Hi > > > > > > When virsh attach-disk/attach-interface is executed in < Xen 3.0.4, > > >

Re: [Libvir] [PATCH] Check the version of Xen in xenDaemonAttachDevice()

2007-08-16 Thread Daniel P. Berrange
On Thu, Aug 16, 2007 at 09:27:04AM -0400, Daniel Veillard wrote: > On Thu, Aug 16, 2007 at 05:41:47PM +0900, Masayuki Sunou wrote: > > Hi > > > > When virsh attach-disk/attach-interface is executed in < Xen 3.0.4, > > the OS type of domain is NULL in xenDaemonAttachDevice(). > > As a result, the c

Re: [Libvir] [PATCH] Check the version of Xen in xenDaemonAttachDevice()

2007-08-16 Thread Daniel Veillard
On Thu, Aug 16, 2007 at 05:41:47PM +0900, Masayuki Sunou wrote: > Hi > > When virsh attach-disk/attach-interface is executed in < Xen 3.0.4, > the OS type of domain is NULL in xenDaemonAttachDevice(). > As a result, the command becomes segmentation fault. > > This patch fixes it by checking the v

[Libvir] [PATCH] Check the version of Xen in xenDaemonAttachDevice()

2007-08-16 Thread Masayuki Sunou
Hi When virsh attach-disk/attach-interface is executed in < Xen 3.0.4, the OS type of domain is NULL in xenDaemonAttachDevice(). As a result, the command becomes segmentation fault. This patch fixes it by checking the version of Xen in xenDaemonAttachDevice(). Signed-off-by: Masayuki Sunou <[EMA