[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/11] NVMe: Initial commit for NVM Express devi
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH 01/11] NVMe: Initial commit for NVM Express device |
Date: |
Thu, 28 Feb 2013 10:50:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Keith Busch <address@hidden> writes:
> On Wed, 27 Feb 2013, Paolo Bonzini wrote:
>> Il 27/02/2013 10:30, Andreas Färber ha scritto:
[...]
>> Finally, and unrelated to the code above, we usually do not add new "if"
>> values. It's enough to have access via if=none & -device. In any case
>> it should be a separate patch, so it's easy to drop it if that's the
>> decision.
>
> I can make a separate patch for this, no problem. The only reason I
> added a new "if" was for hot add, as I don't see a way to do a storage
> pci_add without a new "if".
pci_add is obsolescent in HMP, and unavailable in QMP. Use device_add
instead. Works like this:
(qemu) device_add lsi,id=scsi.0
(qemu) drive_add "" if=none,id=scsicd0,media=cdrom
OK
(qemu) device_add scsi-cd,id=scsi5,scsi-id=5,drive=scsicd0
- [Qemu-devel] [PATCH 10/11] QEMU NVMe: Add logging, (continued)
Re: [Qemu-devel] [PATCH 00/11] *** SUBJECT HERE ***, Stefan Hajnoczi, 2013/02/27