diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 17:40:55 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 17:40:55 +0000 |
commit | 8707eccac83bda82d802c0cfa04fc0ff6bcdce27 (patch) | |
tree | 4972a1b556c05eadee5bc032db1ca021f957f53d /hw/boards.h | |
parent | 016c62c81bf0f434f3213d69962add45ebd4df24 (diff) |
pci_add storage: fix error handling for 'if' parameter (Eduardo Habkost)
This fixes:
- The error message to show the actual if= argument value. It was showing
the filename instead, because 'buf' is reaused on the filename parsing.
- A bug that makes a block device to be created even when an unsupported if= arg
is passed to pci_add.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6981 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/boards.h')
0 files changed, 0 insertions, 0 deletions