[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using s
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console |
Date: |
Mon, 20 May 2019 07:26:15 +0200 |
User-agent: |
NeoMutt/20180716 |
On Sun, May 19, 2019 at 12:55:09AM +0200, Philippe Mathieu-Daudé wrote:
> Hi Gerd,
>
> On 5/10/19 12:46 PM, Gerd Hoffmann wrote:
> > Instead of fetching the prebuilt image from patchew download the install
> > iso and prepare the image locally. Install to disk, using the serial
> > console. Create qemu user, configure ssh login. Install packages
> > needed for qemu builds.
>
> I'm impressed how charmly this works :)
>
> 3 comments so far.
>
> 1/ We could record (in tests/vm/freebsd header?) roughly how many local
> storage will be used (or display in 'make vm-help'?). FYI this image
> takes ~3.1GiB.
vm-help would be more useful I think.
> 2/ "Autoboot in 9 seconds, hit [Enter] to boot or any other key to stop"
Probably tweakable via loader.conf, I'll check.
> 3/ I am a bit annoyed it overwrote my previous
> ~/.cache/qemu-vm/images/freebsd.img VM. Not sure what's the best hash to
> use, maybe "git log -n 1 --pretty=format:%H -- tests/vm/freebsd"?
> (Similarly for other images).
Then use ~/.cache/qemu-vm/images/freebsd-${hash}.img ?
Which will fill ~/.cache/qemu-vm/images with stale images over time,
which isn't great either ...
Or do you have something else in mind?
cheers,
Gerd
- [Qemu-devel] [PATCH v2 01/13] scripts: use git archive in archive-source, (continued)
- [Qemu-devel] [PATCH v2 01/13] scripts: use git archive in archive-source, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 13/13] tests/vm: ubuntu.i386: apt proxy setup, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 07/13] tests/vm: add DEBUG=1 to help text, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 04/13] tests/vm: run test builds on snapshot, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 08/13] tests/vm: serial console support helpers, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 09/13] tests/vm: openbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
- [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Philippe Mathieu-Daudé, 2019/05/18
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Thomas Huth, 2019/05/20
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Philippe Mathieu-Daudé, 2019/05/20
- Re: [Qemu-devel] [PATCH v2 10/13] tests/vm: freebsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/20
[Qemu-devel] [PATCH v2 03/13] tests/vm: use ssh with pty unconditionally, Gerd Hoffmann, 2019/05/10
[Qemu-devel] [PATCH v2 11/13] tests/vm: netbsd autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
[Qemu-devel] [PATCH v2 06/13] tests/vm: add vm-boot-{ssh, serial}-<guest> targets, Gerd Hoffmann, 2019/05/10
[Qemu-devel] [PATCH v2 05/13] tests/vm: proper guest shutdown, Gerd Hoffmann, 2019/05/10
[Qemu-devel] [PATCH v2 12/13] tests/vm: fedora autoinstall, using serial console, Gerd Hoffmann, 2019/05/10
[Qemu-devel] QEMU on OpenBSD is broken? (was: Re: [PATCH v2 00/13] tests/vm: serial console autoinstall, misc fixes.), Thomas Huth, 2019/05/16