There is a monitor and/or qmp command to simulate a "soft"
press on the power button, which would trigger any OS
provided clean shut down logic via ACPI/APM.
There is a different monitor and/or qmp command to simulate
a hard power off while still keeping the virtualization
aspect of e.g. qcow2 fi
Can you give me some pointers to implementations that use these techniques.
Txs.
On Mon, Dec 21, 2015, 4:02 AM Jakob Bohm wrote:
> There is a monitor and/or qmp command to simulate a "soft"
> press on the power button, which would trigger any OS
> provided clean shut down logic via ACPI/APM.
>
>
I know that libvirt (which is huge) uses those. I am not up to date on
what the specific monitor and qmp commands are or where to find out.
So basically, I don't know either.
Hard killing the qemu process you launched yourself should be pretty
trivial using whatever tool/language you used to
Hello:
Does anyone have experience running ARM Dual-core (in particular) Cortexa9
simulation? Can you share the exact parameters that should be used?
So the general QEMu options that come with Yocto are as following:
qemu-system-arm -kernel zImage-vcm4-try.bin -net nic,model=virtio -net
tap
Killing it "manually" is trivial usually just "ctrl-a", "x" but I want to
qemu to exit when my application completes. Following the lead from Peter
you start qemu with -no-reboot option and then "reset the cpu". So for ARM
the poweroff is:
void ac_poweroff(void) {
volatile ac_u32* pUnlockResetRe
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 re
Got it, txs, but hopefully someone will offer an internal mechanism.
On Mon, Dec 21, 2015 at 11:34 AM 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