Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-23 Thread Wei Liu
On Fri, May 20, 2016 at 06:45:04PM +0100, Wei Liu wrote: > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > > Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > > > Recently I got a report on xen-users@ about xl network-attach not > > > working for HVM guest. > > > >

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-23 Thread Wei Liu
On Mon, May 23, 2016 at 10:32:15AM +0100, George Dunlap wrote: > On 20/05/16 18:45, Wei Liu wrote: > > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > >> Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > >>> Recently I got a report on xen-users@ about xl network-att

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-23 Thread George Dunlap
On 20/05/16 18:45, Wei Liu wrote: > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: >> Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): >>> Recently I got a report on xen-users@ about xl network-attach not >>> working for HVM guest. >>> >>> I try to use >>> xl networ

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Wei Liu
On Fri, May 20, 2016 at 07:04:20PM +0100, Wei Liu wrote: > On Fri, May 20, 2016 at 06:58:40PM +0100, Ian Jackson wrote: > > Wei Liu writes ("Re: [RFC] libxl hotplug / unplug emulated devices"): > > > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > > > > Maybe the fix should be that x

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Ian Jackson
Wei Liu writes ("Re: [RFC] libxl hotplug / unplug emulated devices"): > On Fri, May 20, 2016 at 06:58:40PM +0100, Ian Jackson wrote: > > Although I have a style nit: > > > > > if (libxl__device_model_version_running(gc, domid) == > > > -LIBXL_DEVICE_MODEL_VERSION_NONE)

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Wei Liu
On Fri, May 20, 2016 at 06:58:40PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [RFC] libxl hotplug / unplug emulated devices"): > > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > > > Maybe the fix should be that xl network-attach should default hotplug > > > nics to pv only. >

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Ian Jackson
Wei Liu writes ("Re: [RFC] libxl hotplug / unplug emulated devices"): > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > > Maybe the fix should be that xl network-attach should default hotplug > > nics to pv only. > > Here is a patch to do this. :-) Acked-by: Ian Jackson Although

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Wei Liu
On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > > Recently I got a report on xen-users@ about xl network-attach not > > working for HVM guest. > > > > I try to use > > xl network-attach jessie-hvm 'bridge=xenbr0'

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Wei Liu
On Fri, May 20, 2016 at 05:45:53PM +0100, Andrew Cooper wrote: > On 20/05/16 17:42, Wei Liu wrote: > > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > >> Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > >>> Recently I got a report on xen-users@ about xl network-att

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Andrew Cooper
On 20/05/16 17:42, Wei Liu wrote: > On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: >> Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): >>> Recently I got a report on xen-users@ about xl network-attach not >>> working for HVM guest. >>> >>> I try to use >>> xl networ

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Wei Liu
On Fri, May 20, 2016 at 05:38:44PM +0100, Ian Jackson wrote: > Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > > Recently I got a report on xen-users@ about xl network-attach not > > working for HVM guest. > > > > I try to use > > xl network-attach jessie-hvm 'bridge=xenbr0'

Re: [Xen-devel] [RFC] libxl hotplug / unplug emulated devices

2016-05-20 Thread Ian Jackson
Wei Liu writes ("[RFC] libxl hotplug / unplug emulated devices"): > Recently I got a report on xen-users@ about xl network-attach not > working for HVM guest. > > I try to use > xl network-attach jessie-hvm 'bridge=xenbr0' > and vif-bridge script complains that it can't add vifXX-emu to bridge.