Re: [PATCH v2] libs/light: pass some infos to qemu

2021-02-01 Thread Manuel Bouyer
On Mon, Feb 01, 2021 at 11:54:35AM +0100, Roger Pau Monné wrote: > > I can, but how do I get the ecript removed from qemu-traditional ? > > It's a different repo, isn't it ? > > Yes, it's: > > http://xenbits.xen.org/gitweb/?p=qemu-xen-traditional.git;a=summary > > I would remove it from qemu-tra

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-02-01 Thread Roger Pau Monné
On Mon, Feb 01, 2021 at 10:39:39AM +0100, Manuel Bouyer wrote: > On Mon, Feb 01, 2021 at 09:06:13AM +0100, Roger Pau Monné wrote: > > On Sat, Jan 30, 2021 at 12:50:13PM +0100, Manuel Bouyer wrote: > > > On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > > > > [...] > > > > Also, the

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-02-01 Thread Manuel Bouyer
On Mon, Feb 01, 2021 at 09:06:13AM +0100, Roger Pau Monné wrote: > On Sat, Jan 30, 2021 at 12:50:13PM +0100, Manuel Bouyer wrote: > > On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > > > [...] > > > Also, the qemu-ifup script doesn't seem to be part of the NetBSD > > > scripts tha

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-02-01 Thread Roger Pau Monné
On Sat, Jan 30, 2021 at 12:50:13PM +0100, Manuel Bouyer wrote: > On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > > [...] > > Also, the qemu-ifup script doesn't seem to be part of the NetBSD > > scripts that are upstream, is this something carried by the NetBSD > > package? > > A

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-01-30 Thread Manuel Bouyer
On Fri, Jan 29, 2021 at 03:52:14PM +0100, Roger Pau Monné wrote: > > Right, but the default script provided will do bridging mode only, and > even if you add 'script=vif-ip' to the network configuration line it > won't do what you expect. Instead it will try to add the tap network > interface to t

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-01-30 Thread Manuel Bouyer
On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > [...] > Also, the qemu-ifup script doesn't seem to be part of the NetBSD > scripts that are upstream, is this something carried by the NetBSD > package? Actually, the script is part of qemu-xen-traditional: tools/qemu-xen-tradition

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-01-29 Thread Roger Pau Monné
On Fri, Jan 29, 2021 at 11:46:53AM +0100, Manuel Bouyer wrote: > On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > > On Tue, Jan 26, 2021 at 11:47:58PM +0100, Manuel Bouyer wrote: > > > Pass bridge name to qemu as command line option > > > When starting qemu, set an environnement v

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-01-29 Thread Manuel Bouyer
On Thu, Jan 28, 2021 at 12:08:02PM +0100, Roger Pau Monné wrote: > On Tue, Jan 26, 2021 at 11:47:58PM +0100, Manuel Bouyer wrote: > > Pass bridge name to qemu as command line option > > When starting qemu, set an environnement variable XEN_DOMAIN_ID, > > to be used by qemu helper scripts > > The on

Re: [PATCH v2] libs/light: pass some infos to qemu

2021-01-28 Thread Roger Pau Monné
On Tue, Jan 26, 2021 at 11:47:58PM +0100, Manuel Bouyer wrote: > Pass bridge name to qemu as command line option > When starting qemu, set an environnement variable XEN_DOMAIN_ID, > to be used by qemu helper scripts > The only functional difference of using the br parameter is that the > bridge nam

[PATCH v2] libs/light: pass some infos to qemu

2021-01-26 Thread Manuel Bouyer
Pass bridge name to qemu as command line option When starting qemu, set an environnement variable XEN_DOMAIN_ID, to be used by qemu helper scripts The only functional difference of using the br parameter is that the bridge name gets passed to the QEMU script. NetBSD doesn't have the ioctl to rename