From: Jeremy Katz <katzj-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [RFT] kvm host suspend/resume
Date: Tue, 30 Jan 2007 14:43:23 -0500 [thread overview]
Message-ID: <45BF9FDB.6060302@redhat.com> (raw)
In-Reply-To: <45BC96BB.5080203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Avi Kivity wrote:
> I've committed kvm support for host suspend-to-disk (and hopefully
> resume too). This means you can suspend your machine with running vms,
> and resume it later will all vms returning to the saved state. This
> should please laptop owners.
So testing with trunk (r4365) + 2.6.20-rc5-ish, I'm able to suspend and
resume with the modules loaded. Starting a guest after resume gets the
following oops in the host; guest is in the grub menu at that point.
kvm: msrs: 1
invalid opcode: 0000 [#1]
SMP
last sysfs file: /class/net/eth0/carrier
Modules linked in: snd_hda_intel snd_hda_codec button kvm_intel kvm
rfcomm hidp l2cap i915 drm ipt_MASQUERADE iptable_nat nf_nat ipv6
autofs4 sunrpc bridge dummy nf_conntrack_netbios_ns ipt_REJECT
nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp
iptable_filter ip_tables x_tables cpufreq_ondemand video sbs i2c_ec dock
battery asus_acpi backlight ac parport_pc lp parport sr_mod cdrom
snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
snd_pcm_oss snd_mixer_oss hci_usb fw_ohci snd_pcm e100 mii bluetooth
sdhci ata_piix fw_core ipw3945 mmc_core sg serio_raw i2c_i801 iTCO_wdt
iTCO_vendor_support snd_timer ieee80211 ieee80211_crypt ata_generic
i2c_core snd soundcore snd_page_alloc joydev dm_snapshot dm_zero
dm_mirror dm_mod ahci libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd
ohci_hcd uhci_hcd
CPU: 1
EIP: 0060:[<f8d3bc6a>] Not tainted VLI
EFLAGS: 00010207 (2.6.19-1.2913.fc7 #1)
EIP is at vmx_vcpu_load+0x49/0xc1 [kvm_intel]
eax: db452cbc ebx: f2f5847c ecx: 018e2100 edx: c075eb2c
esi: 00000001 edi: db452dc0 ebp: db452cd4 esp: db452cac
ds: 007b es: 007b ss: 0068
Process qemu (pid: 21176, ti=db452000 task=e2020030 task.ti=db452000)
Stack: 22222222 22222222 22222222 22222222 144d9000 00000000 db452dc0
db452cd4
f2f58484 f2f5847c db452ce4 f8e61ad6 f2f5847c f2f5847c db452cf0
f8e6322f
00000001 db452d4c f8d3cc69 c0603728 00000000 00000002 c0603751
f2f58484
Call Trace:
[<c04051c9>] show_trace_log_lvl+0x1a/0x2f
[<c0405279>] show_stack_log_lvl+0x9b/0xa3
[<c0405415>] show_registers+0x194/0x26a
[<c0405618>] die+0x12d/0x242
[<c0605167>] do_trap+0x79/0x91
[<c0405bbb>] do_invalid_op+0x97/0xa1
[<c0604f3c>] error_code+0x7c/0x84
[<f8e61ad6>] vcpu_load+0x3b/0x3f [kvm]
[<f8e6322f>] kvm_resched+0x20/0x23 [kvm]
[<f8d3cc69>] kvm_vmx_return+0x1d0/0x1df [kvm_intel]
[<f8e62139>] kvm_dev_ioctl+0x284/0x117a [kvm]
[<c0482c36>] do_ioctl+0x22/0x67
[<c0482ecd>] vfs_ioctl+0x252/0x265
[<c0482f29>] sys_ioctl+0x49/0x64
[<c0404058>] syscall_call+0x7/0xb
=======================
Code: 00 40 39 73 48 89 45 e8 74 07 89 d8 e8 5d ff ff ff 8b 0c b5 80 b3
71 c0 ba 2c eb 75 c0 8b 43 04 39 04 0a 74 31 89 04 0a 8d 45 e8 <0f> c7
30 0f 96 c0 84 c0 74 21 8b 45 e8 8b 55 ec c7 04 24 a3 d4
EIP: [<f8d3bc6a>] vmx_vcpu_load+0x49/0xc1 [kvm_intel] SS:ESP 0068:db452cac
Jeremy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-01-30 19:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-28 12:27 [RFT] kvm host suspend/resume Avi Kivity
[not found] ` <45BC96BB.5080203-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-29 5:04 ` dormando
[not found] ` <45BD8079.8020202-uFjFfPRxV21eoWH0uzbU5w@public.gmane.org>
2007-01-29 8:24 ` Avi Kivity
2007-01-30 19:43 ` Jeremy Katz [this message]
[not found] ` <45BF9FDB.6060302-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-01-31 10:32 ` Avi Kivity
[not found] ` <45C07051.60003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-31 15:19 ` Jeremy Katz
[not found] ` <1170256759.2880.1.camel-T9xAYgMuJli44ywRPIzf9A@public.gmane.org>
2007-01-31 15:24 ` Avi Kivity
[not found] ` <45C0B4C1.9030301-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-31 23:00 ` Jeremy Katz
[not found] ` <45C11F89.20607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-02-01 8:09 ` Avi Kivity
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=45BF9FDB.6060302@redhat.com \
--to=katzj-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox