ide: Adds wwn=hex qdev option
commit95ebda85e09ed2b7f00deb2adbdafa5ccf5db948
authorFloris Bos <bos@je-eigen-domein.nl>
Tue, 13 Mar 2012 12:31:47 +0000 (13 13:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:39 +0000 (5 14:54 +0200)
tree11724250febc3065d5b7d61e50c800a6932bb451
parentaa2c91bdfebbfa314e9522573a9656626e21ac67
ide: Adds wwn=hex qdev option

Allow the user to specify a disk's World Wide Name.

Linux guests can address disks by their unique World Wide Name number
(e.g. /dev/disk/by-id/wwn-0x5001517959123522). This patch adds support
for assigning a World Wide Name number to a virtual IDE disk.

Cc: kwolf@redhat.com
Signed-off-by: Floris Bos <dev@noc-ps.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c
hw/ide/internal.h
hw/ide/qdev.c