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 _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel