[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [CFR 8/10] device_add command
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [CFR 8/10] device_add command |
Date: |
Tue, 15 Jun 2010 11:30:28 -0500 |
device_add
----------
Add a device.
Arguments:
- "driver": the name of the new device's driver (json-string)
- "bus": the device's parent bus (device tree path, json-string, optional)
- "id": the device's ID, must be unique (json-string)
- device properties
Example:
-> { "execute": "device_add", "arguments": { "driver": "e1000", "id": "net1" } }
<- { "return": {} }
Notes:
(1) For detailed information about this command, please refer to the
'docs/qdev-device-use.txt' file.
(2) It's possible to list device properties by running QEMU with the
"-device DEVICE,\?" command-line argument, where DEVICE is the device's name
[Qemu-devel] [CFR 8/10] device_add command,
Anthony Liguori <=
[Qemu-devel] [CFR 7/10] cpu command, Anthony Liguori, 2010/06/15
[Qemu-devel] [CFR 4/10] command, Anthony Liguori, 2010/06/15
[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