qemu-e2k/stubs
Stefan Hajnoczi 701bff24de stubs: add qemu_ram_block_from_host() and qemu_ram_get_fd()
The blkio block driver will need to look up the file descriptor for a
given pointer. This is possible in softmmu builds where the RAMBlock API
is available for querying guest RAM.

Add stubs so tools like qemu-img that link the block layer still build
successfully. In this case there is no guest RAM but that is fine.
Bounce buffers and their file descriptors will be allocated with
libblkio's blkio_alloc_mem_region() so we won't rely on QEMU's
qemu_ram_get_fd() in that case.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20221013185908.1297568-12-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2022-10-26 14:56:42 -04:00
..
bdrv-next-monitor-owned.c
blk-commit-all.c
blk-exp-close-all.c
blockdev-close-all-bdrv-states.c
change-state-handler.c
cmos.c
cpu-get-clock.c
cpu-synchronize-state.c
cpus-get-virtual-clock.c
dump.c
error-printf.c
fdset.c
fw_cfg.c
gdbstub.c
get-vm-name.c
icount.c
io_uring.c
iothread-lock-block.c
iothread-lock.c
is-daemonized.c
isa-bus.c
linux-aio.c
meson.build stubs: add qemu_ram_block_from_host() and qemu_ram_get_fd() 2022-10-26 14:56:42 -04:00
migr-blocker.c
module-opts.c
monitor-core.c
monitor.c
pci-bus.c
physmem.c stubs: add qemu_ram_block_from_host() and qemu_ram_get_fd() 2022-10-26 14:56:42 -04:00
qdev.c
qemu-timer-notify-cb.c
qmp_memory_device.c
qmp-command-available.c
qmp-quit.c
qtest.c
ram-block.c
ramfb.c
replay-tools.c chardev: src buffer const for write functions 2022-09-29 14:38:05 +04:00
replay.c
runstate-check.c
semihost.c semihosting: Allow optional use of semihosting from userspace 2022-09-13 17:18:21 +01:00
sysbus.c
target-get-monitor-def.c
target-monitor-defs.c
trace-control.c
usb-dev-stub.c
uuid.c
vfio-user-obj.c
vm-stop.c
vmgenid.c
vmstate.c
win32-kbd-hook.c
xen-hw-stub.c hw/i386/xen/xen-hvm: Inline xen_piix_pci_write_config_client() and remove it 2022-06-29 00:24:59 +02:00