search for: if_scsi

Displaying 4 results from an estimated 4 matches for "if_scsi".

2009 Oct 27
0
[PATCH 1/4] Add 'raid' interface class
..._bus, -1, "megasas"); + } } if (extboot_drive) { diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 410fa3f..855a1ad 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -85,6 +85,7 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) switch (type) { case IF_SCSI: + case IF_RAID: if (pci_read_devaddr(mon, pci_addr, &dom, &pci_bus, &slot)) { goto err; } diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 2a9268a..68b4e83 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -41,6 +41,7 @@ do { fprintf(stderr, "...
2009 Oct 27
0
[PATCH 1/4] Add 'raid' interface class
..._bus, -1, "megasas"); + } } if (extboot_drive) { diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 410fa3f..855a1ad 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -85,6 +85,7 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) switch (type) { case IF_SCSI: + case IF_RAID: if (pci_read_devaddr(mon, pci_addr, &dom, &pci_bus, &slot)) { goto err; } diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 2a9268a..68b4e83 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -41,6 +41,7 @@ do { fprintf(stderr, "...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 3/7] userspace virtio
..._add_queue(&s->vdev, 128, virtio_blk_handle_output); + + return &s->vdev; +} diff --git a/qemu/sysemu.h b/qemu/sysemu.h index 1f5b093..e20159d 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -117,7 +117,7 @@ extern unsigned int nb_prom_envs; #endif typedef enum { - IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD + IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO } BlockInterfaceType; typedef struct DriveInfo { diff --git a/qemu/vl.c b/qemu/vl.c index 28c5df4..26055a4 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4970,6 +4970,9 @@ static int drive_init...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 3/7] userspace virtio
..._add_queue(&s->vdev, 128, virtio_blk_handle_output); + + return &s->vdev; +} diff --git a/qemu/sysemu.h b/qemu/sysemu.h index 1f5b093..e20159d 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -117,7 +117,7 @@ extern unsigned int nb_prom_envs; #endif typedef enum { - IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD + IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, IF_VIRTIO } BlockInterfaceType; typedef struct DriveInfo { diff --git a/qemu/vl.c b/qemu/vl.c index 28c5df4..26055a4 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4970,6 +4970,9 @@ static int drive_init...