qemu-e2k/hw/block
David Woodhouse d3256f88d9 hw/xen: automatically assign device index to block devices
There's no need to force the user to assign a vdev. We can automatically
assign one, starting at xvda and searching until we find the first disk
name that's unused.

This means we can now allow '-drive if=xen,file=xxx' to work without an
explicit separate -driver argument, just like if=virtio.

Rip out the legacy handling from the xenpv machine, which was scribbling
over any disks configured by the toolstack, and didn't work with anything
but raw images.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-11-07 08:54:20 +00:00
..
dataplane virtio-blk: remove batch notification BH 2023-10-31 15:42:17 +01:00
block.c pflash: Fix blk_pread_nonzeroes() 2023-03-07 16:53:18 +01:00
cdrom.c
ecc.c
fdc-internal.h
fdc-isa.c hw: Replace isa_get_irq() by isa_bus_get_irq() when ISABus is available 2023-02-27 22:29:02 +01:00
fdc-sysbus.c
fdc.c hw/block: replace TABs with space 2023-03-24 11:45:46 +01:00
hd-geometry.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
Kconfig
m25p80_sfdp.c m25p80: Add the is25wp256 SFPD table 2023-02-07 09:02:04 +01:00
m25p80_sfdp.h m25p80: Add the is25wp256 SFPD table 2023-02-07 09:02:04 +01:00
m25p80.c m25p80: Introduce an helper to retrieve the BlockBackend of a device 2023-09-01 11:40:04 +02:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
nand.c hw/block: replace TABs with space 2023-03-24 11:45:46 +01:00
onenand.c hw/block: replace TABs with space 2023-03-24 11:45:46 +01:00
pflash_cfi01.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
pflash_cfi02.c
swim.c swim: update IWM/ISM register block decoding 2023-10-06 10:33:43 +02:00
tc58128.c hw/block: replace TABs with space 2023-03-24 11:45:46 +01:00
trace-events swim: update IWM/ISM register block decoding 2023-10-06 10:33:43 +02:00
trace.h
vhost-user-blk.c virtio,pc,pci: features, cleanups 2023-10-23 14:45:29 -07:00
virtio-blk-common.c virtio-blk: add zoned storage emulation for zoned devices 2023-05-15 08:18:10 -04:00
virtio-blk.c util/defer-call: move defer_call() to util/ 2023-10-31 15:41:42 +01:00
xen_blkif.h
xen-block.c hw/xen: automatically assign device index to block devices 2023-11-07 08:54:20 +00:00