From: David Abrahams <dave@boostpro.com>
To: kvm-devel@lists.sourceforge.net
Subject: Re: Automatically hibernate XP guest on suspend?
Date: Wed, 14 May 2008 15:26:33 -0400 [thread overview]
Message-ID: <87wslwvg9i.fsf@mcbain.luannocracy.com> (raw)
In-Reply-To: 4812CFE5.7070201@qumranet.com
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/
prev parent reply other threads:[~2008-05-14 19:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wslwvg9i.fsf@mcbain.luannocracy.com \
--to=dave@boostpro.com \
--cc=kvm-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.