On 31/10/2019 09.53, 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. > > Signed-off-by: Gerd Hoffmann <[email protected]> > Reviewed-by: Kamil Rytarowski <[email protected]> > Tested-by: Thomas Huth <[email protected]> > [ehabkost: rebased to latest qemu.git master] > Signed-off-by: Eduardo Habkost <[email protected]> > --- > 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
