Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 88) sorted by relevance

1234

/qemu/include/hw/
H A Dregisterfields.h49 #define FIELD_EX8(storage, reg, field) \ argument
50 extract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \
52 #define FIELD_EX16(storage, reg, field) \ argument
53 extract16((storage), R_ ## reg ## _ ## field ## _SHIFT, \
55 #define FIELD_EX32(storage, reg, field) \ argument
56 extract32((storage), R_ ## reg ## _ ## field ## _SHIFT, \
58 #define FIELD_EX64(storage, reg, field) \ argument
59 extract64((storage), R_ ## reg ## _ ## field ## _SHIFT, \
62 #define FIELD_SEX8(storage, reg, field) \ argument
63 sextract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \
[all …]
/qemu/docs/specs/
H A Dacpi_erst.rst6 storing error records in persistent storage for future reference
11 method for storing error records into persistent storage.
28 Linux uses the persistent storage filesystem, pstore, to record
35 Two common storage backends for the pstore filesystem are ACPI ERST
38 storage backend for virtual machines (as it is now for bare metal
65 - size: The size of the ACPI ERST backing storage. This parameter is
67 - mem-path: The location of the ACPI ERST backing storage file. This
76 backend storage. Must be a power of two value greater than or
101 The backend storage is divided into fixed size "slots", 8KiB in
107 Slot 0 contains a backend storage header that identifies the contents
[all …]
/qemu/docs/devel/
H A Dzoned-storage.rst2 zoned-storage
10 https://zonedstorage.io/docs/introduction/zoned-storage
12 1. Block layer APIs for zoned storage
14 QEMU block layer supports three zoned storage models:
28 zoned storage information can be propagated from the leaf BlockDriverState all
29 the way up to the BlockBackend. If the zoned storage model in file-posix is
32 The block layer APIs support commands needed for zoned storage devices,
35 2. Emulating zoned storage controllers
37 When the BlockBackend's BlockLimits model reports a zoned storage device, users
39 APIs for zoned storage emulation or testing.
[all …]
H A Dluks-detached-header.rst52 separately and use the existing storage
92 Host storage Host storage
118 "node-name":"libvirt-1-storage"}' \
120 "driver":"raw","file":"libvirt-1-storage"}' \
122 "node-name":"libvirt-2-storage"}' \
124 "driver":"qcow2","file":"libvirt-2-storage"}' \
144 "arguments":{"node-name":"libvirt-1-storage", "driver":"file", \
151 "file":"libvirt-1-storage"}}'
156 "arguments":{"node-name":"libvirt-2-storage", "driver":"file", \
163 "file":"libvirt-2-storage"}}'
H A Duefi-vars.rst8 The traditional approach for UEFI Variable storage in qemu guests is
10 providing pflash as storage and leaving the management of variables
14 storage must be protected against direct access by the OS. All update
20 SMM mode is allowed to access flash storage.
/qemu/hw/ppc/
H A Dpnv_pnor.c28 ret |= (uint64_t) s->storage[addr + i] << (8 * (size - i - 1)); in pnv_pnor_read()
47 ret = blk_pwrite(s->blk, offset, offset_end - offset, s->storage + offset, in pnv_pnor_update()
62 s->storage[addr + i] = (data >> (8 * (size - i - 1))) & 0xFF; in pnv_pnor_write()
100 s->storage = blk_blockalign(s->blk, s->size); in pnv_pnor_realize()
102 if (blk_pread(s->blk, 0, s->size, s->storage, 0) < 0) { in pnv_pnor_realize()
107 s->storage = blk_blockalign(NULL, s->size); in pnv_pnor_realize()
108 memset(s->storage, 0xFF, s->size); in pnv_pnor_realize()
/qemu/hw/nvram/
H A Dnrf51_nvm.c233 memset(s->storage + value, 0xFF, NRF51_PAGE_SIZE); in io_write()
246 memset(s->storage, 0xFF, s->flash_size); in io_write()
296 oldval = ldl_le_p(s->storage + offset); in flash_write()
298 stl_le_p(s->storage + offset, oldval); in flash_write()
345 s->storage = memory_region_get_ram_ptr(&s->flash); in nrf51_nvm_realize()
/qemu/docs/interop/
H A Dprl-xml.rst19 uses auxiliary xml ``Snapshot.xml``, which allows storage of optional snapshot
45 the backing storage for a subset of the virtual disk. When
46 there is more than one storage in a Parallels disk then that
47 is referred to as a split image. In this case every storage
50 and are not supported. Each storage consists of disk
126 * ``Start`` - start sector of the storage, in case of non split storage
129 split storage equals to ``Disk_size``.
130 * ``Blocksize`` - storage cluster size, number of sectors per one cluster.
H A Dqemu-storage-daemon-qmp-ref.rst7 .. qapi-doc:: storage-daemon/qapi/qapi-schema.json
/qemu/storage-daemon/qapi/
H A Dmeson.build1 qsd_qapi_files = custom_target('QAPI files for qemu-storage-daemon',
4 command: [ qapi_gen, '-o', 'storage-daemon/qapi', '@INPUT@' ],
H A Dqapi-schema.json5 # that the storage daemon schema is a subset of the main schema. For the shared
9 # If you wish to extend the storage daemon schema to contain things that are
14 # storage daemon.
20 # storage daemon QMP.
/qemu/hw/arm/
H A Dfby35.c44 g_autofree void *storage = NULL; in fby35_bmc_write_boot_rom() local
61 storage = g_malloc0(rom_size); in fby35_bmc_write_boot_rom()
62 if (blk_pread(blk, 0, rom_size, storage, 0) < 0) { in fby35_bmc_write_boot_rom()
68 memcpy(memory_region_get_ram_ptr(mr) + offset, storage, rom_size); in fby35_bmc_write_boot_rom()
/qemu/storage-daemon/
H A Dmeson.build2 qsd_ss.add(files('qemu-storage-daemon.c'))
9 qsd = executable('qemu-storage-daemon',
/qemu/docs/system/devices/
H A Dvirtio-pmem.rst8 on regular (i.e non-NVDIMM) storage.
20 NVDIMM emulation on regular (i.e. non-NVDIMM) host storage does not
23 on non-NVDIMM host storage.
40 pci device whose storage is provided by above memory backend device.
H A Dusb.rst65 -device usb-storage,bus=ehci.0,drive=usbstick
67 This attaches a USB tablet to the UHCI adapter and a USB mass storage
113 ``usb-storage,drive=drive_id``
114 Mass storage device backed by drive_id (see the :ref:`disk images`
125 -device usb-storage,bus=xhci.0,drive=stick
148 Bulk-only transport storage device. This presents the guest with the
149 same USB bulk-only transport protocol interface as ``usb-storage``, but
238 -device usb-storage,bus=usb-bus.0,port=2.4,drive=...
249 Hotplugging USB storage
H A Dvhost-user.rst29 - Block storage
32 - File based storage driver
56 - SCSI based storage
/qemu/hw/block/
H A Dpflash_cfi01.c85 void *storage; member
253 p = pfl->storage; in pflash_data_read()
397 pfl->storage + offset, 0); in pflash_update()
412 memcpy(pfl->blk_bytes, pfl->storage + pfl->blk_offset, in pflash_blk_write_start()
421 memcpy(pfl->storage + pfl->blk_offset, pfl->blk_bytes, in pflash_blk_write_flush()
452 p = pfl->storage + offset; in pflash_data_write()
487 p = pfl->storage; in pflash_write()
833 pfl->storage = memory_region_get_ram_ptr(&pfl->mem); in pflash_cfi01_realize()
849 if (!blk_check_size_and_read_all(pfl->blk, dev, pfl->storage, in pflash_cfi01_realize()
H A Dpflash_cfi02.c109 void *storage; member
263 uint8_t *p = (uint8_t *)pfl->storage + offset; in pflash_data_read()
404 pfl->storage + offset, 0); in pflash_update()
420 uint8_t *p = pfl->storage; in pflash_sector_erase()
551 p = (uint8_t *)pfl->storage + offset; in pflash_write()
618 memset(pfl->storage, 0xff, pfl->chip_len); in pflash_write()
890 pfl->storage = memory_region_get_ram_ptr(&pfl->orig_mem); in pflash_cfi02_realize()
905 if (!blk_check_size_and_read_all(pfl->blk, dev, pfl->storage, in pflash_cfi02_realize()
H A Dm25p80.c484 uint8_t *storage; member
579 qemu_iovec_add(iov, s->storage + page * s->pi->page_size, in flash_sync_page()
596 qemu_iovec_add(iov, s->storage + off, len); in flash_sync_area()
648 memset(s->storage + offset, 0xff, len); in flash_erase()
664 uint8_t prev = s->storage[s->cur_addr]; in flash_write8()
700 s->storage[s->cur_addr] = data; in flash_write8()
702 s->storage[s->cur_addr] &= data; in flash_write8()
1593 r = s->storage[s->cur_addr]; in m25p80_transfer8()
1685 s->storage = blk_blockalign(s->blk, s->size); in m25p80_realize()
1688 s->storage, s->size, errp)) { in m25p80_realize()
[all …]
/qemu/docs/tools/
H A Dqemu-storage-daemon.rst10 **qemu-storage-daemon** [options]
15 ``qemu-storage-daemon`` provides disk image functionality from QEMU,
34 :manpage:`qemu-storage-daemon-qmp-ref(7)` manual page for a description of the
48 .. program:: qemu-storage-daemon
193 $ qemu-storage-daemon \
214 ['qemu-storage-daemon',
235 $ qemu-storage-daemon \
243 $ qemu-storage-daemon \
251 $ qemu-storage-daemon \
259 :manpage:`qemu(1)`, :manpage:`qemu-block-drivers(7)`, :manpage:`qemu-storage-daemon-qmp-ref(7)`
/qemu/tests/qemu-iotests/tests/
H A Dnbd-tls-iothread135 echo === Dst VM: Enable NBD server for incoming storage migration ===
146 echo === Src VM: Mirror to dst NBD for outgoing storage migration ===
H A Dnbd-tls-iothread.out23 === Dst VM: Enable NBD server for incoming storage migration ===
34 === Src VM: Mirror to dst NBD for outgoing storage migration ===
/qemu/hw/usb/
H A Dmeson.build39 system_ss.add(when: 'CONFIG_USB_STORAGE_CORE', if_true: files('dev-storage.c'))
40 system_ss.add(when: 'CONFIG_USB_STORAGE_BOT', if_true: files('dev-storage-bot.c'))
41 system_ss.add(when: 'CONFIG_USB_STORAGE_CLASSIC', if_true: files('dev-storage-classic.c'))
/qemu/include/hw/ppc/
H A Dpnv_pnor.h30 uint8_t *storage; member
/qemu/docs/system/arm/
H A Dorangepi.rst22 * SD/MMC storage controller
90 To be able to use USB storage, you need to manually enable the corresponding
142 You can choose to attach the selected image either as an SD card or as USB mass storage.
154 To attach the image as an USB mass storage device to the machine,
160 -device usb-storage,bus=usb-bus.0,drive=stick
213 board and provides a fully working system with serial console, networking and storage.

1234