qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [CFR 2/10] qmp: block_passwd command


From: Anthony Liguori
Subject: Re: [Qemu-devel] [CFR 2/10] qmp: block_passwd command
Date: Tue, 15 Jun 2010 11:44:58 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/15/2010 11:30 AM, Anthony Liguori wrote:
block_passwd
------------

I dislike abbreviations. I also think that we should make commands verbs. So I'd like to change the name to set_block_password and then we can alias block_passwd to that command if we need to.

Set the password of encrypted block devices.

Arguments:

- "device": device name (json-string)
- "password": password (json-string)

What happens if:

1) device does not exist
2) media is not present
3) block format does not support encryption
4) password is invalid

Regards,

Anthony Liguori

Example:

->  { "execute": "block_passwd", "arguments": { "device": "ide0-hd0",
                                                "password": "12345" } }
<- { "return": {} }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]