[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: qemu-xen and bridge (xen 4.11)
On Mon, Aug 24, 2020 at 11:24:06AM -0700, Roman Shaposhnik wrote: > On Mon, Aug 24, 2020 at 11:12 AM Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx> wrote: > > > > Hello, > > with the recent XSA about qemu, I'm trying to switch the NetBSD port from > > qemu-xen-traditional to qemu-xen (in Xen 4.11 for now, I'll look at > > 4.13 later). > > One showstopper is that with qemu-xen, the bridge name is not passed > > any more to the qemu-ifup script. I tried adding a br= option to > > the qemu invocation, but qemu-system-i386 doesn't seem to use it > > (at last the script is still called with only one argument). > > I'm not about to pass to qemu the value of nics[i].script instead of > > libxl_tapif_script(), so that at last per-domain script can be > > specified. > > > > How is this issue dealt with on other OSes ? I can't believe I'm > > the only one with multiple bridges in the dom0 ... > > You mean something like? > > https://github.com/lf-edge/eve/blob/master/pkg/xen-tools/patches-4.14.0/10-bridge-helper-support.patch Hello, the attached patch is needed on Xen 4.13 in addition to the above patch, so that xl calls qemu with the br= argument properly set. In addition to this, I also added an environnement variable XEN_DOMAIN_ID, which can be used from the qemu-ifup script if you need to query the xenstore (it's usefull for me). Would such a patch be accepted ? -- Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx> NetBSD: 26 ans d'experience feront toujours la difference -- Attachment:
patch-tools_libxl_libxl_dm.c
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |