Re: [libvirt] RFC: Migration with NPIV

2012-11-21 Thread Paolo Bonzini
Il 20/11/2012 11:17, Daniel P. Berrange ha scritto: > If we do the mapping of HBAs to guest domains using storage > pools, then at a guest level, migration requires zero work. I guess that means adding ? > It is simply upto the management app to create the storage > pool on the destination host w

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Osier Yang
On 2012年11月20日 09:36, Zou, Yi wrote: On 2012年11月19日 17:30, Osier Yang wrote: Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU emulated disk only at this stage). And other related NPIV improvements which are not related

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Osier Yang
On 2012年11月21日 00:26, Dave Allan wrote: On Tue, Nov 20, 2012 at 10:17:11AM +, Daniel P. Berrange wrote: On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU e

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Osier Yang
On 2012年11月20日 18:17, Daniel P. Berrange wrote: On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU emulated disk only at this stage). And other related NPIV impr

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Osier Yang
On 2012年11月20日 18:08, Daniel P. Berrange wrote: On Mon, Nov 19, 2012 at 06:42:42PM +0800, Osier Yang wrote: One API missed is: int virNodeDeviceCreate(virNodeDevicePtr dev, unsigned int flags); To create the vHBA. That API + functionality already exists Th

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Daniel P. Berrange
On Tue, Nov 20, 2012 at 11:26:53AM -0500, Dave Allan wrote: > On Tue, Nov 20, 2012 at 10:17:11AM +, Daniel P. Berrange wrote: > > On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: > > > Hi, > > > > > > This proposal is trying to figure out a solution for migration > > > of domain whi

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Dave Allan
On Tue, Nov 20, 2012 at 10:17:11AM +, Daniel P. Berrange wrote: > On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: > > Hi, > > > > This proposal is trying to figure out a solution for migration > > of domain which uses LUN behind vHBA as disk device (QEMU > > emulated disk only at t

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Daniel P. Berrange
On Mon, Nov 19, 2012 at 05:30:11PM +0800, Osier Yang wrote: > Hi, > > This proposal is trying to figure out a solution for migration > of domain which uses LUN behind vHBA as disk device (QEMU > emulated disk only at this stage). And other related NPIV > improvements which are not related with mig

Re: [libvirt] RFC: Migration with NPIV

2012-11-20 Thread Daniel P. Berrange
On Mon, Nov 19, 2012 at 06:42:42PM +0800, Osier Yang wrote: > > One API missed is: > > int > virNodeDeviceCreate(virNodeDevicePtr dev, > unsigned int flags); > > To create the vHBA. That API + functionality already exists Daniel -- |: http://berrange.com -o-

Re: [libvirt] RFC: Migration with NPIV

2012-11-19 Thread Zou, Yi
> On 2012年11月19日 17:30, Osier Yang wrote: > > Hi, > > > > This proposal is trying to figure out a solution for migration > > of domain which uses LUN behind vHBA as disk device (QEMU > > emulated disk only at this stage). And other related NPIV > > improvements which are not related with migration.

Re: [libvirt] RFC: Migration with NPIV

2012-11-19 Thread Osier Yang
On 2012年11月19日 17:30, Osier Yang wrote: Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU emulated disk only at this stage). And other related NPIV improvements which are not related with migration. I'm not luck to get a

[libvirt] RFC: Migration with NPIV

2012-11-19 Thread Osier Yang
Hi, This proposal is trying to figure out a solution for migration of domain which uses LUN behind vHBA as disk device (QEMU emulated disk only at this stage). And other related NPIV improvements which are not related with migration. I'm not luck to get a environment to test if the thoughts are w