* Automatically hibernate XP guest on suspend?
@ 2008-04-25 3:06 David Abrahams
2008-04-25 21:31 ` Cam Macdonell
2008-04-26 6:47 ` Avi Kivity
0 siblings, 2 replies; 8+ messages in thread
From: David Abrahams @ 2008-04-25 3:06 UTC (permalink / raw)
To: kvm-devel
If I suspend my host while running a Windows XP guest, the whole machine
crashes, so I was hoping to automate hibernation of the guest OS and
integrate that into my host's suspend process. Does anyone know how to
do that?
TIA,
--
Dave Abrahams
Boost Consulting
http://boost-consulting.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-25 3:06 Automatically hibernate XP guest on suspend? David Abrahams
@ 2008-04-25 21:31 ` Cam Macdonell
2008-04-25 23:31 ` David Abrahams
2008-04-26 6:47 ` Avi Kivity
1 sibling, 1 reply; 8+ messages in thread
From: Cam Macdonell @ 2008-04-25 21:31 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel
David Abrahams wrote:
> If I suspend my host while running a Windows XP guest, the whole machine
> crashes, so I was hoping to automate hibernation of the guest OS and
> integrate that into my host's suspend process. Does anyone know how to
> do that?
>
Hi Dave,
What host OS are you running?
Cam
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-25 21:31 ` Cam Macdonell
@ 2008-04-25 23:31 ` David Abrahams
2008-04-26 6:46 ` Avi Kivity
0 siblings, 1 reply; 8+ messages in thread
From: David Abrahams @ 2008-04-25 23:31 UTC (permalink / raw)
To: Cam Macdonell; +Cc: kvm-devel
Cam Macdonell wrote:
> David Abrahams wrote:
>> If I suspend my host while running a Windows XP guest, the whole machine
>> crashes, so I was hoping to automate hibernation of the guest OS and
>> integrate that into my host's suspend process. Does anyone know how to
>> do that?
>>
>
> Hi Dave,
>
> What host OS are you running?
Ubuntu 8.04 Hardy Heron
--
Dave Abrahams
Boost Consulting
http://boost-consulting.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-25 23:31 ` David Abrahams
@ 2008-04-26 6:46 ` Avi Kivity
2008-04-27 20:07 ` David Abrahams
0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2008-04-26 6:46 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel
David Abrahams wrote:
> Cam Macdonell wrote:
>
>> David Abrahams wrote:
>>
>>> If I suspend my host while running a Windows XP guest, the whole machine
>>> crashes, so I was hoping to automate hibernation of the guest OS and
>>> integrate that into my host's suspend process. Does anyone know how to
>>> do that?
>>>
>>>
>> Hi Dave,
>>
>> What host OS are you running?
>>
>
> Ubuntu 8.04 Hardy Heron
>
It's certainly new enough to support suspend/resume with running VMs.
What kernel does it have?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-26 6:46 ` Avi Kivity
@ 2008-04-27 20:07 ` David Abrahams
0 siblings, 0 replies; 8+ messages in thread
From: David Abrahams @ 2008-04-27 20:07 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel
Avi Kivity wrote:
> David Abrahams wrote:
>> Cam Macdonell wrote:
>>
>>> David Abrahams wrote:
>>>
>>>> If I suspend my host while running a Windows XP guest, the whole
>>>> machine
>>>> crashes, so I was hoping to automate hibernation of the guest OS and
>>>> integrate that into my host's suspend process. Does anyone know how to
>>>> do that?
>>>>
>>>>
>>> Hi Dave,
>>>
>>> What host OS are you running?
>>>
>>
>> Ubuntu 8.04 Hardy Heron
>>
>
> It's certainly new enough to support suspend/resume with running VMs.
> What kernel does it have?
$ uname -a
Linux mcbain 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
GNU/Linux
--
Dave Abrahams
Boost Consulting
http://boost-consulting.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-25 3:06 Automatically hibernate XP guest on suspend? David Abrahams
2008-04-25 21:31 ` Cam Macdonell
@ 2008-04-26 6:47 ` Avi Kivity
2008-04-27 20:08 ` David Abrahams
2008-05-14 19:26 ` David Abrahams
1 sibling, 2 replies; 8+ messages in thread
From: Avi Kivity @ 2008-04-26 6:47 UTC (permalink / raw)
To: David Abrahams; +Cc: kvm-devel
David Abrahams wrote:
> If I suspend my host while running a Windows XP guest, the whole machine
> crashes, so I was hoping to automate hibernation of the guest OS and
> integrate that into my host's suspend process. Does anyone know how to
> do that?
>
>
It's doable (not sure how), but kvm ought not to crash when resuming.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-26 6:47 ` Avi Kivity
@ 2008-04-27 20:08 ` David Abrahams
2008-05-14 19:26 ` David Abrahams
1 sibling, 0 replies; 8+ messages in thread
From: David Abrahams @ 2008-04-27 20:08 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel
Avi Kivity wrote:
> David Abrahams wrote:
>> If I suspend my host while running a Windows XP guest, the whole machine
>> crashes, so I was hoping to automate hibernation of the guest OS and
>> integrate that into my host's suspend process. Does anyone know how to
>> do that?
>>
>>
>
> It's doable (not sure how), but kvm ought not to crash when resuming.
Surely. Of course I would prefer for that bug to be fixed ;-)
--
Dave Abrahams
Boost Consulting
http://boost-consulting.com
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Automatically hibernate XP guest on suspend?
2008-04-26 6:47 ` Avi Kivity
2008-04-27 20:08 ` David Abrahams
@ 2008-05-14 19:26 ` David Abrahams
1 sibling, 0 replies; 8+ messages in thread
From: David Abrahams @ 2008-05-14 19:26 UTC (permalink / raw)
To: kvm-devel
on Sat Apr 26 2008, Avi Kivity <avi-AT-qumranet.com> wrote:
> David Abrahams wrote:
>> If I suspend my host while running a Windows XP guest, the whole machine
>> crashes, so I was hoping to automate hibernation of the guest OS and
>> integrate that into my host's suspend process. Does anyone know how to
>> do that?
>>
>>
>
> It's doable (not sure how), but kvm ought not to crash when resuming.
If I run the same disk image using virt-manager I can suspend it quickly
through the virt-manager interface (or virsh), and suspend/resume works.
However, I don't know how to replicate the networking I get from
kvm -no-acpi -smp 1 -m 1000 -redir tcp:3389::3389 -usb -usbdevice tablet -boot c /mnt/usr_local/vm/xp-overlay.qcow2
which is my usual launch command. In particular, I don't know how to
reproduce the -redir tcp:3389::3389 in that VM file, and the guest seems
to think it's running on different hardware. If I could figure out how
to get the equivalent of virsh's suspend command when invoking kvm from
the command line, or how to get virtual-manager to run my existing VM
as-is, I'd be all set. Knowing both would be best of all ;-)
Any hints?
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-05-14 19:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-25 3:06 Automatically hibernate XP guest on suspend? David Abrahams
2008-04-25 21:31 ` Cam Macdonell
2008-04-25 23:31 ` David Abrahams
2008-04-26 6:46 ` Avi Kivity
2008-04-27 20:07 ` David Abrahams
2008-04-26 6:47 ` Avi Kivity
2008-04-27 20:08 ` David Abrahams
2008-05-14 19:26 ` David Abrahams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox