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:

>  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

    $ qemu-system-i386 -m 64 -nographic -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 -daemonize -display none -vga none 
> -no-fd-bootchk \
> +     -hda virtual.img

    $ qemu-system-x86_64 -m 64 -nographic -no-fd-bootchk -hda virtual.img

> -    $ qemu-system-sparc -m 32 -nographic -hda virtual.img
> +    $ qemu-system-sparc -m 64 -daemonize -display none -vga none -hda 
> virtual.img

    $ qemu-system-sparc -m 64 -nographic -hda virtual.img



>  
>  ==> Networking
>  
> @@ -112,8 +114,9 @@ $OpenBSD: README,v 1.10 2013/01/03 08:30
>     root open the tunnel device and then use sudo again to drop
>     privileges and start QEMU:
>  
> -    $ sudo sh -c "sudo -u $USER qemu-system-i386 -nographic -net nic \
> -     -net tap,fd=3 -no-fd-bootchk -hda virtual.img 3<>/dev/tun0"
> +    $ sudo sh -c "sudo -u $USER qemu-system-i386 -daemonize -display none \
> +     -vga none -net nic -net tap,fd=3 -no-fd-bootchk -hda virtual.img \
> +     3<>/dev/tun0"

    $ sudo sh -c "sudo -u $USER qemu-system-i386 -nographic -net nic \
        -net tap,fd=3 -no-fd-bootchk -hda virtual.img 3<>/dev/tun0"


>     NOTE: sudo calls closefrom(2).  In order to have more than one
>           fd passed tap interface, a line to sudoers akin to:
> @@ -198,7 +201,7 @@ $OpenBSD: README,v 1.10 2013/01/03 08:30
>     accomplish this, both in effect the same solution:
>  
>      a. qemu-system-i386 -vnc :0 -serial stdio .. virtual.img \
> -         -cdrom install52.iso -boot d
> +         -cdrom i386/install56.iso -boot d
>  
>       - this option permits you to use VNC from some system to
>            connect to the QEMU instance and 'set tty com0' at the
> @@ -206,7 +209,8 @@ $OpenBSD: README,v 1.10 2013/01/03 08:30
>       - you may then disconnect VNC and use the terminal from
>            which you started QEMU to do the install.
>  
> -    b. qemu-system-i386 -nographic .. virtual.img -fda floppy52.fs -boot a
> +    b. qemu-system-i386 -daemonize -display none -vga none .. virtual.img \
> +     -fda i386/floppy56.fs -boot a

    b. qemu-system-i386 -nographic .. virtual.img -fda i386/floppy56.fs -boot a


Rest looks good.

Reply via email to