|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization |
Date: | Mon, 24 May 2010 17:27:53 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 05/24/2010 05:12 PM, Jan Kiszka wrote:
Anthony Liguori wrote:On 05/24/2010 03:35 PM, Jan Kiszka wrote:In contrast to save/loadvm, device_show does not provide a backward-compatible output. Not only field names can change (as a result of internal refactoring),Field names could change, but that seems unlikely and unnecessary.Actually, this may happen to improve the output format for device_show, either via renaming the fields or annotating it (once we have the latter mechanism).
I don't think it's a huge win vs. stability.
The output of device_show when specifying -M pc-0.13 should always be the same. If it's not, I believe that's a bug. The output of device_show across multiple qemu versions without specifying a -M could certainly be different but that's to be expected since you have a different hardware model.It will be different as soon as the version_id of a dumped vmstate changes, even independent of -M.
But QMP stability is only guaranteed for releases and -M pc-0.12 should (in a perfect world) always dump out the same versions regardless of whether it's qemu-0.12, qemu-0.13, etc.
Regards, Anthony Liguori
Jan
[Prev in Thread] | Current Thread | [Next in Thread] |