[patch] Re: [patch] on-quit-v0.21 with resume/suspend/power-off dialog Re: [patch] Re: [Qemu-devel] Suggestion - trap window-close of VM

2005-07-28 Thread Struan Bartlett
If anyone cares, I've updated my on-quit-0.21 patch to cleanly apply to qemu 0.7.1 (to be precise the 2005-07-23 nightly snapshot of 0.7.1). Instructions and history below. Feedback still welcome. Struan On Sat, 7 May 2005, Struan Bartlett wrote: > Having had the APM bios fixed in the

Re: [Qemu-devel] small bugs in 0.7.1

2005-07-28 Thread Struan Bartlett
On Wed, 27 Jul 2005, ace wrote: > - I compiled from source but had problem with kqemu. It > compiled with a warning but created the kernel module. But > the module can't be loaded into the kernel, is says > 'unresolved symbol __PAGE_KERNEL_EXEC'. Compilation of I got this too. Removing the #ifde

Re: [Qemu-devel] Re: Re: Nothing happens

2005-05-19 Thread Struan Bartlett
/usr/local/share/qemu/bios.bin", O_RDONLY|O_LARGEFILE) = 10 open("/usr/local/share/qemu/vgabios-cirrus.bin", O_RDONLY|O_LARGEFILE) = 10 open("/etc/localtime", O_RDONLY)    = 10 Rudi Lippert wrote: well, nothing really means nothing. the guest window does not come up,

Re: [Qemu-devel] Re: Nothing happens

2005-05-18 Thread Struan Bartlett
How do you mean 'nothing'? Can you be more precise? Does it display the network interface configuration? open the guest window? Or really is does it just hang immediately? With the '-monitor stdio' option does it give you a monitor prompt? Have you tried running qemu with: strace qemu 2>/tmp/qe

Re: [patch] on-quit-v0.21 with resume/suspend/power-off dialog Re: [patch] Re: [Qemu-devel] Suggestion - trap window-close of VM

2005-05-10 Thread Struan Bartlett
Great. What I recall happens is that the Windows 2000 APM driver calls the APM bios function 0x0B (Get PM Event) every second and, should the APM bios be aware of an event (such as that the power button has been pressed) it signals this in the return value of the function. Thereafter, the Windo

Re: [patch] on-quit-v0.21 with resume/suspend/power-off dialog Re: [patch] Re: [Qemu-devel] Suggestion - trap window-close of VM

2005-05-09 Thread Struan Bartlett
You're welcome Ryan. Glad you like it. As to your other option, it is already the case that the APM bios sends the shutdown command to Qemu by out'ing bytes to a special port, so I imagine it would be possible for Qemu to send commands to the APM bios in a similar fashion. But, can the APM bios

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Struan Bartlett
Marc Collin wrote: Le 8 Mai 2005 17:00, André Braga a écrit : Unless you have 2 instances of QEMU running, no, you're not supposed to. 0 means kqemu is ok? I don't think so. The way I see it, when I'm running _one_ instance of QEMU, lsmod lists: kqemu 43428 2 When I r

[patch] on-quit-v0.21 with resume/suspend/power-off dialog Re: [patch] Re: [Qemu-devel] Suggestion - trap window-close of VM

2005-05-07 Thread Struan Bartlett
emu file if it exists; asks user whether to resume, power off or suspend on CTRL-C or window close; suspend saves to the same file; power off deleted the suspend file. qemu -hda win2k.raw -m 64 -monitor null -loadvm suspended.qemu -on-quit ask Feedback welcome! Struan Struan Bartlett wrote: