On 2011-06-12 19:42, Peter Maydell wrote:
> On 11 June 2011 10:05, Jan Kiszka <jan.kis...@web.de> wrote:
>> @@ -2074,6 +2074,7 @@ int load_vmstate(const char *name)
>>         return -EINVAL;
>>     }
>>
>> +    qemu_system_reset();
>>     ret = qemu_loadvm_state(f);
> 
> This means that if we're doing a load because the user
> passed -loadvm on the command line we'll end up doing
> qemu_system_reset() twice (once in vl.c and then again
> here). Does that matter?

I don't think it's worth optimizing. E.g. we already reset every PCI
device twice during normal reset.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to