From: David Barrett <dbarrett@quinthar.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Are VM snapshots on Ubuntu host compatible with Fedora host?
Date: Wed, 19 Mar 2008 17:59:39 -0700 [thread overview]
Message-ID: <47E1B6FB.7080306@quinthar.com> (raw)
Should I be able to use "loadvm" on one computer to load a VM snapshot
created with "savevm" on another?
Essentially, I've got my image working great on a local box (dual CPU
Ubuntu), and I've got qemu working on one of my servers (quad CPU
Fedora Core 4), so I've uploaded the guest image to the server and tried
to start it. Unfortunately, it reliably spits out the following:
> qemu -nographic -serial vc -smb qemu -kernel-kqemu -localtime -m 512
-monitor stdio -loadvm boot winxp.qcow2
(qemu) qemu: warning: error while loading state for instance 0x0 of
device 'ram'
qemu: fatal: triple fault
EAX=000676c8 EBX=ffdff000 ECX=ffdffc50 EDX=e0010031
ESI=80559320 EDI=80559580 EBP=ffdff980 ESP=805508d4
EIP=806f372a EFL=00010202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0023 00000000 ffffffff 00cff300
CS =0008 00000000 ffffffff 00cffb00
SS =0010 00000000 ffffffff 00cff300
DS =0023 00000000 ffffffff 00cff300
FS =0030 ffdff000 00001fff ff40f3df
GS =0000 00000000 00000000 00000000
LDT=0000 00000000 00000000 00008000
TR =0028 80042000 000020ab 80008904
GDT= 8003f000 000003ff
IDT= 8003f400 000007ff
CR0=e001003b CR2=8003f440 CR3=00039000 CR4=000006d8
CCS=00000015 CCD=00000000 CCO=EFLAGS
FCW=027f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
If I take out the "-loadvm boot" clause, it loads fine (well, it uses
100% CPU, but that's a different matter). And I can see that the
snapshot is actually there:
(qemu) info snapshots
Snapshot devices: ide0-hd0
Snapshot list (from ide0-hd0):
ID TAG VM SIZE DATE VM CLOCK
1 boot 97M 2008-03-07 19:04:46 01:24:45.824
(qemu)
But it consistently crashes when I attempt to load the VM, whether using
"-loadvm" at the command line or "loadvm" from the monitor. Similarly,
I can save/load *new* snapshots just fine:
(qemu) savevm blah
(qemu) info snapshots
Snapshot devices: ide0-hd0
Snapshot list (from ide0-hd0):
ID TAG VM SIZE DATE VM CLOCK
1 boot 97M 2008-03-07 19:04:46 01:24:45.824
2 blah 2.8M 2008-03-19 19:06:16 00:01:02.286
(qemu) loadvm blah
(qemu)
What I'm wondering is:
1) Is this supposed to work? Or are VM snapshots saved on one host
unable to be loaded on another?
2) Do you have any tips for how to fix the above problem? I've tried an
old patch that I found from the list that looked promising, but didn't help:
http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg01624.html
Thanks!
-david
next reply other threads:[~2008-03-20 0:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-20 0:59 David Barrett [this message]
2008-03-20 3:44 ` [Qemu-devel] Are VM snapshots on Ubuntu host compatible with Fedora host? Mulyadi Santosa
2008-03-21 5:09 ` David Barrett
2008-03-20 21:38 ` Mulyadi Santosa
2008-04-01 1:48 ` David Barrett
2008-04-01 2:14 ` Mulyadi Santosa
2008-04-01 2:24 ` Anthony Liguori
2008-04-01 2:47 ` David Barrett
2008-04-01 9:15 ` andrzej zaborowski
2008-04-03 2:40 ` David Barrett
2008-04-03 6:48 ` Thomas Irlet
2008-04-03 14:45 ` [Qemu-devel] Are VM snapshots on Ubuntu host compatible withFedora host? Sergey Bychkov
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=47E1B6FB.7080306@quinthar.com \
--to=dbarrett@quinthar.com \
--cc=qemu-devel@nongnu.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 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.