[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [CFR 4/10] command
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [CFR 4/10] command |
Date: |
Tue, 15 Jun 2010 12:02:37 -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:
change
------
Change a removable medium or VNC configuration.
I think this command is awkward and should be split into a change-media
and change-vnc-password command.
Arguments:
- "device": device name (json-string)
- "target": filename or item (json-string)
- "arg": additional argument (json-string, optional)
For change-media:
1) what happens if the drive does not support removable media?
2) what happens if the drive is locked?
3) what happens if media is not currently present?
4) what if I want to pass additional options to target like format=raw?
5) is the media change immediately present to the guest upon return of
the command?
For change-vnc-password:
1) what if VNC is not in use?
2) what if I don't have vnc authentication enabled?
3) does changing the password have any affect on existing sessions?
4) is a new password required immediately after the command completes?
Regards,
Anthony Liguori
Examples:
1. Change a removable medium
-> { "execute": "change",
"arguments": { "device": "ide1-cd0",
"target": "/srv/images/Fedora-12-x86_64-DVD.iso" }
}
<- { "return": {} }
2. Change VNC password
-> { "execute": "change",
"arguments": { "device": "vnc", "target": "password",
"arg": "foobar1" } }
<- { "return": {} }
- Re: [Qemu-devel] [CFR 9/10] device_del command, (continued)
[Qemu-devel] [CFR 8/10] device_add command, Anthony Liguori, 2010/06/15
[Qemu-devel] [CFR 7/10] cpu command, Anthony Liguori, 2010/06/15
[Qemu-devel] [CFR 4/10] command, Anthony Liguori, 2010/06/15
- Re: [Qemu-devel] [CFR 4/10] command,
Anthony Liguori <=
[Qemu-devel] [CFR 10/10] eject command, Anthony Liguori, 2010/06/15
[Qemu-devel] Re: [CFR 0/10] QMP specification review, Luiz Capitulino, 2010/06/17