[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests: vm: auto_install OpenBSD
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH] tests: vm: auto_install OpenBSD |
Date: |
Fri, 24 Aug 2018 17:47:09 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, 08/24 10:06, Peter Maydell wrote:
> On 24 August 2018 at 09:52, Fam Zheng <address@hidden> wrote:
> > On Fri, 08/24 09:22, Daniel P. Berrangé wrote:
> >> On Fri, Aug 24, 2018 at 09:21:26AM +0800, Fam Zheng wrote:
> >> > Upgrade OpenBSD to 6.3 using auto_install. Especially, drop SDL1,
> >> > include SDL2.
> >> >
> >> > One limitation of this patch is that we need a temporary HTTP server on
> >> > host 80 port for auto_install, because slirp cannot do guest forward on
> >> > "host addr".
> >>
> >> That's a pretty big limitation, as port 80 requires root privileges,
> >> and that's a pretty strict no for automated testing IMHO.
> >>
> >> Why does it have to be port 80 in particular - is it not possible
> >> to use 8080 or even better, detect a random free port ?
> >
> > OpenBSD autoinstall[1] is hardcoded to fetch from port 80. Maybe we can
> > instead
> > persuade it into fetching from a different http server than 10.0.2.2. To do
> > that
> > we'd need to implement a new slirp option for either "option
> > tftp-server-name"
> > or "next-server" according to the manpage. I'll have to experiment with it
> > to
> > see if it will work.
>
> Can you use the usermode networking "guestfwd" option to make guest
> tcp connections to wherever:80 go to host:8080 or something instead?
> (watch out for https://bugs.launchpad.net/qemu/+bug/1628971 if it
> is still relevant, I guess).
Yes, that is what I mean above. Will post v2.
Fam
Re: [Qemu-devel] [PATCH] tests: vm: auto_install OpenBSD, Gerd Hoffmann, 2018/08/27
Re: [Qemu-devel] [PATCH] tests: vm: auto_install OpenBSD, Fam Zheng, 2018/08/27