[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 1/6] tests/vm: netbsd autoinstall, using serial console
From: |
Thomas Huth |
Subject: |
Re: [PATCH v1 1/6] tests/vm: netbsd autoinstall, using serial console |
Date: |
Mon, 11 Nov 2019 15:20:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 |
On 04/11/2019 18.36, Alex Bennée wrote:
> From: Gerd Hoffmann <address@hidden>
>
> 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.
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> Reviewed-by: Kamil Rytarowski <address@hidden>
> Tested-by: Thomas Huth <address@hidden>
> [ehabkost: rebased to latest qemu.git master]
> Signed-off-by: Eduardo Habkost <address@hidden>
> Message-Id: <address@hidden>
> Signed-off-by: Alex Bennée <address@hidden>
> ---
> tests/vm/netbsd | 189 +++++++++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 179 insertions(+), 10 deletions(-)
[...]
> + # shutdown
> + self.ssh_root(self.poweroff)
> + self.console_wait("entering state S5")
> + self.wait()
> +
> + if os.path.exists(img):
> + os.remove(img)
What about removing the above two lines again?
(see commit fcd2060e8efff83b7bde)
Thomas
> os.rename(img_tmp, img)
> + os.remove(iso)
> + self.print_step("All done")
>
> if __name__ == "__main__":
> sys.exit(basevm.main(NetBSDVM))
>
- [PATCH v1 2/6] tests/vm: add console_consume helper, (continued)
- [PATCH v1 2/6] tests/vm: add console_consume helper, Alex Bennée, 2019/11/04
- [PATCH v1 4/6] tests/vm: update netbsd to version 8.1, Alex Bennée, 2019/11/04
- [PATCH v1 3/6] tests/vm: use console_consume for netbsd, Alex Bennée, 2019/11/04
- [PATCH v1 1/6] tests/vm: netbsd autoinstall, using serial console, Alex Bennée, 2019/11/04
- [PATCH v1 6/6] tests/vm: support sites with sha512 checksums, Alex Bennée, 2019/11/04
- [PATCH v1 5/6] tests: only run ipmi-bt-test if CONFIG_LINUX, Alex Bennée, 2019/11/04
- Re: [PATCH v1 0/6] testing/next (netbsd stuff), Peter Maydell, 2019/11/07