> >> With multiple backup support, we still need to keep it working
> >> unchanged when no or just one backup is executing. When more are
> >> executing, we have to make it fail, unless an optional argument is
> >> given.
>
> Again, unnecessary complexity.
>
> Moreover, omitting
Dietmar Maurer writes:
>> > You can easily extend the API to allow multiple backups (In a fully
>> > backwards compatible way). So there is no need to change that now.
>>
>> I disagree.
>>
>> You propose something like:
>>
>> 1. -> { "execute": "backup",
>> "arguments": { "backup-fil
> > You can easily extend the API to allow multiple backups (In a fully
> > backwards compatible way). So there is no need to change that now.
>
> I disagree.
>
> You propose something like:
>
> 1. -> { "execute": "backup",
> "arguments": { "backup-file": "foo.vma" } }
> <- { "retu
Dietmar Maurer writes:
>> >> +# @devlist: #optional list of block device names (separated by ',', ';'
>> >> +# or ':'). By default the backup includes all writable block devices.
>> >
>> > Make this a proper list, please.
>>
>> That is, make it a JSON array: '*devlist' : [ 'str' ] Any time that
> >> +# @devlist: #optional list of block device names (separated by ',', ';'
> >> +# or ':'). By default the backup includes all writable block devices.
> >
> > Make this a proper list, please.
>
> That is, make it a JSON array: '*devlist' : [ 'str' ] Any time that you pass
> a string
> through
On 02/27/2013 03:31 AM, Markus Armbruster wrote:
> First pass, concentrating on interfaces, implementation mostly ignored.
>
> Dietmar Maurer writes:
>
>> We use a generic BackupDriver struct to encapsulate all archive format
>> related function.
>>
>> +# @backup:
>> +#
>> +# Starts a VM backup
First pass, concentrating on interfaces, implementation mostly ignored.
Dietmar Maurer writes:
> We use a generic BackupDriver struct to encapsulate all archive format
> related function.
>
> Another option would be to simply dump to
> the output fh (pipe), and an external binary saves the data
We use a generic BackupDriver struct to encapsulate all archive format
related function.
Another option would be to simply dump to
the output fh (pipe), and an external binary saves the data. That way we
could move the whole archive format related code out of qemu.
Signed-off-by: Dietmar Maurer