On 2014/07/16 19:55, Brad Smith wrote:
> On Thu, Jul 17, 2014 at 12:50:44AM +0100, Stuart Henderson wrote:
> > On 2014/07/16 19:31, Brad Smith wrote:
> > 
> > This one still has some -daemonize -display none -vga none in places
> > where -nographic is the most appropriate option:
> 
> Index: Makefile
>  5. Boot normally from the virtual disk:
>  
> -    $ qemu-system-i386 -m 32 -nographic -no-fd-bootchk -hda virtual.img
> +    $ qemu-system-i386 -m 64 -display none -vga none -no-fd-bootchk -hda \
> +     virtual.img
>  
>     or:
>  
> -    $ qemu-system-x86_64 -m 32 -nographic -no-fd-bootchk -hda virtual.img
> +    $ qemu-system-x86_64 -m 64 -display none -vga none -no-fd-bootchk \
> +     -hda virtual.img
>  
> -    $ qemu-system-sparc -m 32 -nographic -hda virtual.img
> +    $ qemu-system-sparc -m 64 -display none -vga none -hda virtual.img


These still have the -display none -vga none which is not the same thing,
the README specifically instructs people to set serial console so they
can use it with -nographic to have that redirected to a straight text
console screen,

       -display type
..
           none
               Do not display video output. The guest will still see an
               emulated graphics card, but its output will not be displayed to
               the QEMU user. This option differs from the -nographic option
               in that it only affects what is done with video output;
               -nographic also changes the destination of the serial and
               parallel port data.

Having installed earlier as instructed, if I use your -display none -vga none:

$ qemu-system-x86_64 -m 64 -display none -vga none -no-fd-bootchk -hda 
/tmp/virtual.img
<no output>

If I use the line I am suggesting:

$ qemu-system-x86_64 -m 64 -nographic -no-fd-bootchk -hda /tmp/virtual.img
>> OpenBSD/amd64 BOOT 3.28
boot> 
booting hd0a:/bsd: 7717952+2127276+1093432+0+609152 [100+553944+368551]=0xfe52a8
entry point at 0x10001e0 [7205c766, 34000004, 24448b12, cba0a304]
[ using 923432 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2014 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.5-current (GENERIC) #251: Sun Jul 13 20:40:26 MDT 2014
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
...

then ^Ac

 QEMU 2.0.0 monitor - type 'help' for more information
(qemu) 

etc.

The only -nographic that is wrong in the README in-tree is the
final one in the -daemonize section.

Reply via email to