On 07/19/14 00:33, Eric Blake wrote:
> On 07/18/2014 10:11 AM, Peter Krempa wrote:
>> Report errors on some states snapshots done by qemu should never reach
>> ---
>> src/qemu/qemu_driver.c | 12 +++++++++---
>> 1 file changed, 9 insertions(+), 3 deletions(-)
>>
>
>> +
>> + case VIR_DOMAIN_NOSTATE:
>> + case VIR_DOMAIN_BLOCKED:
>> + case VIR_DOMAIN_LAST:
>> + virReportError(VIR_ERR_INTERNAL_ERROR,
>> + _("Invalid target domain state '%s'. Refusing "
>> + "snapshot revertion "),
>
> s/revertion /reversion/
>
> (typo and trailing space)
>
>> + virDomainStateTypeToString(snap->def->state));
>> + goto cleanup;
>> }
>
> ACK with that fixed. It might also be nice to patch
> qemuDomainSnapshotCreateXML with the _REDEFINE flag to likewise reject
> modifying an existing snapshot into one of these states.
> Fixed && pushed; Thanks. Peter
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
