public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
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: Wed, 31 Jan 2007 10:19:19 -0500	[thread overview]
Message-ID: <1170256759.2880.1.camel@aglarond.local> (raw)
In-Reply-To: <45C07051.60003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: 
> Jeremy Katz wrote:
> > 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.
> >
> 
> 2.6.20-rc6 can't suspend my test machine (regardless of kvm), so this 
> possible fix is completely untested.

Failure looks basically the same.  Will try to do some more
investigation later today.

kvm: msrs: 1
invalid opcode: 0000 [#1]
SMP 
last sysfs file: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0/cmd
Modules linked in: snd_hda_intel snd_hda_codec button kvm_intel kvm tun
i915 drm ipt_MASQUERADE iptable_nat nf_nat autofs4 hidp rfcomm l2cap
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 ipv6 parport_pc lp parport snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device hci_usb snd_pcm_oss sr_mod
cdrom bluetooth snd_mixer_oss fw_ohci e100 mii i2c_i801 snd_pcm iTCO_wdt
iTCO_vendor_support fw_core i2c_core ipw3945 ieee80211 ieee80211_crypt
sdhci snd_timer serio_raw ata_piix snd soundcore snd_page_alloc mmc_core
ata_generic joydev sg 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:[<f8e2ac6a>]    Not tainted VLI
EFLAGS: 00210207   (2.6.19-1.2913.fc7 #1)
EIP is at vmx_vcpu_load+0x49/0xc1 [kvm_intel]
eax: c3c63d24   ebx: e71d047c   ecx: 018e2100   edx: c075eb48
esi: 00000001   edi: c3c63dc0   ebp: c3c63d3c   esp: c3c63d14
ds: 007b   es: 007b   ss: 0068
Process qemu (pid: 12413, ti=c3c63000 task=e656a030 task.ti=c3c63000)
Stack: 22222222 22222222 22222222 22222222 22311000 00000000 c3c63dc0
c3c63d3c 
       e71d0484 e71d047c c3c63d4c f8e6dae0 f8e6debf fffffffe c3c63f44
f8e6e0c7 
       00000200 bfca8a68 e71d0000 f7fffa80 f7fffa80 f4ac9138 c3c63d98
c0473860 
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
[<f8e6dae0>] vcpu_load+0x3b/0x3f [kvm]
[<f8e6e0c7>] kvm_dev_ioctl+0x208/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 48 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 c4 
EIP: [<f8e2ac6a>] vmx_vcpu_load+0x49/0xc1 [kvm_intel] SS:ESP
0068:c3c63d14


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

  parent reply	other threads:[~2007-01-31 15:19 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
     [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 [this message]
     [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=1170256759.2880.1.camel@aglarond.local \
    --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