[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: optional feature
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: optional feature |
Date: |
Wed, 16 Sep 2009 14:26:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
"Michael S. Tsirkin" <address@hidden> wrote:
> On Wed, Sep 16, 2009 at 02:14:32PM +0200, Juan Quintela wrote:
>> >> See below, we are changing the state to one table, and tables don't have
>> >> neither if's or whiles (we have a limited for that just walks arrays).
>> >
>> > Let's just bite the bullet and add support for if's? It's not like it's
>> > hard to invent 'struct vmstate_condition' or some such.
>>
>> I have to do it. The problem is not adding an optional field, is adding
>> it conditionally on _what_, and that _what_ should also be ideally on
>> vmstate.
>>
>> Later, Juan.
>
> pci config is on vmstate already, I don't see a problem here.
vmstate don't understand pci config. I want to manipulate images with
the informantion that you have given vmstate. Sending another byte
meaning:
msix_enabled
and now depending on that value another field is ok with me. You can
calculate msix_enable at pre_save time whenever way that you see fit.
What vmstate needs is a only to now if msix_enable is 0 or 1, how you
calculate it, VMState don't care.
Later, Juan.
- [Qemu-devel] optional feature (was Re: The State of the SaveVM format), Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Gleb Natapov, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature,
Juan Quintela <=
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Gleb Natapov, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16
- [Qemu-devel] Re: optional feature, Gleb Natapov, 2009/09/16
- [Qemu-devel] Re: optional feature, Michael S. Tsirkin, 2009/09/16
- [Qemu-devel] Re: optional feature, Juan Quintela, 2009/09/16