mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
pci: virtio: use pci id defines (Gerd Hoffman)
Use the defines added by the previous patch in the virtio drivers. Also remove the pointless vendor and device args from the virtio_blk_init() function. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5987 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d350d97d19
commit
9b32d5a5f7
4 changed files with 8 additions and 8 deletions
|
@ -70,7 +70,6 @@ struct virtio_blk_inhdr
|
|||
unsigned char status;
|
||||
};
|
||||
|
||||
void *virtio_blk_init(PCIBus *bus, uint16_t vendor, uint16_t device,
|
||||
BlockDriverState *bs);
|
||||
void *virtio_blk_init(PCIBus *bus, BlockDriverState *bs);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue