qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] How to use qemu for non-interactive testing


From: Bodo Eggert
Subject: Re: [Qemu-discuss] How to use qemu for non-interactive testing
Date: Tue, 22 Dec 2015 13:27:11 +0100 (CET)
User-agent: Alpine 2.11 (DEB 23 2013-08-11)

On Mon, 21 Dec 2015, Jakob Bohm wrote:

> By "manually" I meant that your outer test-automating program or script
> would do it by simply sending the appropriate "kill" message/signal,
> not that you as a human would have to sit at the console ready to hit
> ctrl+C.
> 
> For qemu-system-i386 (and qemu-system-x86_64), you can use the same
> PC BIOS request used by the Linux kernel when someone runs the "halt"
> command line program.  You should be able to find that somewhere in
> the Linux kernel source code.
> 
> For qemu-i386 (and any of the other non-system qemu interpreters)
> simply doing a normal program exit should do the trick.

It's 
outw( 0xB004, 0x0 | 0x2000 );

http://forum.osdev.org/viewtopic.php?t=16990



reply via email to

[Prev in Thread] Current Thread [Next in Thread]