On Sun, 02 Feb 2020 20:29:04 +0100 Johannes Schauer wrote:

> Quoting Johannes Schauer (2020-02-02 20:22:49)
[...]
> > 1. you can try the qcow2 image you built without autopkgtest by just 
> > running it
> >    inside qemu like so:
> > 
> >     $ qemu-system-x86_64 -enable-kvm -m 512 -serial 
> > unix:/tmp/ttyS0,server,nowait -drive 
> > "file=$HOME/Downloads/TEST/debian-unstable.qcow2,cache=unsafe,if=virtio,index=0"
> 
> One non-obvious thing is missing here. After running the above command you 
> have
> a new unix socket under /tmp/ttyS0 that you should be able to connect to using
> a serial terminal emulator. This is how autopkgtest connects to qemu. So after
> running above command, check that everything works by running something like:
> 
>     $ minicom -D 'unix#/tmp/ttyS0'

Hello and sorry for the long delay (I had been busy in too many things...).

I tried the test you suggested and found out that the virtual machine
fails to boot!
The attached screenshot is what is shown in the graphical window...
seemingly forever.

I haven't even tried to connect to /tmp/ttyS0, as I guess a virtual
machine that fails to boot will never bring the serial terminal
emulator up and running...

I am really ignorant about qemu: do you happen to have any idea on what
went wrong?


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpZIGyLBOK0C.pgp
Description: PGP signature

Reply via email to