[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: use qemu-xen (upstream QEMU) as device model by default



On Mon, 3 Dec 2012, Roger Pau Monne wrote:
> On 27/11/12 16:17, Stefano Stabellini wrote:
> > 
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> > 
> > diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c
> > index 9d20086..c40f597 100644
> > --- a/tools/libxl/libxl_create.c
> > +++ b/tools/libxl/libxl_create.c
> > @@ -144,7 +144,7 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
> >      if (!b_info->device_model_version) {
> >          if (b_info->type == LIBXL_DOMAIN_TYPE_HVM)
> >              b_info->device_model_version =
> > -                LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL;
> > +                LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN;
> 
> Is there anyway we may keep qemu-traditional as default for NetBSD?
> Upstream Qemu is not working on NetBSD, and I'm afraid it needs some
> heavy patching.
> 
> Could a helper function be added to libxl_{netbsd/linux}.c to decide
> which device model to use?

Yes, we could have a libxl__default_device_model function in
libxl_{netbsd/linux}.c.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.