Home
last modified time | relevance | path

Searched +full:drive +full:- +full:type (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DDrive.v1_21_0.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Drive.v1_21_0.json",
3 "$ref": "#/definitions/Drive",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
10 "longDescription": "This type shall contain the available actions for this resource.",
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
14 "type": [ array
26 "#Drive.Reset": {
29 "#Drive.RevertToOriginalFactoryState": {
32 "#Drive.SecureErase": {
[all …]
H A DDriveMetrics.v1_3_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2025 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
10 "longDescription": "This type shall contain the available actions for this resource.",
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
14 "type": [ array
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
32 "type": "object" string
36 "description": "The usage and health statistics for a drive.",
37 …`DriveMetrics` schema shall contain the usage and health statistics for a drive in a Redfish imple…
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DDrive.v1_21_0.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Drive.v1_21_0.json",
3 "$ref": "#/definitions/Drive",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
10 "longDescription": "This type shall contain the available actions for this resource.",
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
14 "type": [ array
26 "#Drive.Reset": {
29 "#Drive.RevertToOriginalFactoryState": {
32 "#Drive.SecureErase": {
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DDrive.interface.yaml2 Implement to provide drive attributes.
5 - name: Capacity
7 type: uint64
9 The size in bytes of the Drive. `0` if cannot be determined.
10 - name: Protocol
12 type: enum[self.DriveProtocol]
14 The communication protocol used by the Drive.
15 - name: Type
17 type: enum[self.DriveType]
19 The type of physical form factor of the Drive.
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D172.out11 dev: isa-fdc, id ""
18 bus: floppy-bus.0
19 type floppy-bus
22 drive = "floppy0"
29 write-cache = "auto"
30 share-rw = false
31 account-invalid = "auto"
32 account-failed = "auto"
33 drive-type = "288"
36 === Using -fda/-fdb options ===
[all …]
H A D051.pc.out7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0
8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '…
10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0
11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format…
13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form…
16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0
17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma…
22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=
23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn…
[all …]
H A D186.out6 Testing: -device floppy
7 QEMU X.Y.Z monitor - type 'help' for more information
9 /machine/peripheral-anon/device[1]: [not inserted]
10 Attached to: /machine/peripheral-anon/device[N]
14 Testing: -device floppy,id=qdev_id
15 QEMU X.Y.Z monitor - type 'help' for more information
22 Testing: -device ide-cd
23 QEMU X.Y.Z monitor - type 'help' for more information
25 /machine/peripheral-anon/device[1]: [not inserted]
26 Attached to: /machine/peripheral-anon/device[N]
[all …]
H A D051.out7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0
8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '…
10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0
11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format…
13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form…
16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0
17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma…
22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=
23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn…
[all …]
H A D17253 if ! test -t 0; then
59 ) | $QEMU -accel qtest -nographic -monitor stdio -serial none -vga none -nic none "$@"
68 # QEMU_OPTIONS contains -nodefaults, we don't want that here because the
76 …sed -ne '/^ dev: isa-fdc/,/^ dev:/{x;p};/^[a-z][^ ]* (NODE_NAME):* /,/^(qemu)$/{…
83 QEMU_OPTIONS="" do_run_qemu -drive if=none,file="$TEST_IMG" "$@" |
95 # Default drive semantics:
97 # By default you get a single empty floppy drive. You can override it with
98 # -drive and using the same index, but if you use -drive to add a floppy to a
100 # '-device floppy', even to a different slot, the default drive is disabled.
110 echo === Using -fda/-fdb options ===
[all …]
H A D0554 # Tests for drive-backup and blockdev-backup
31 blockdev_target_img = os.path.join(iotests.test_dir, 'blockdev-target.img')
36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len))
37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img)
38 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x00 64k 128k', test_img)
39 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x22 162k 32k', test_img)
40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img)
41 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xdc 32M 124k', test_img)
42 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x33 67043328 64k', test_img)
50 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len))
[all …]
H A D240.out2 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "hd0", "read-zeroes": t…
4 {"execute": "object-add", "arguments": {"id": "iothread0", "qom-type": "iothread"}}
6 {"execute": "device_add", "arguments": {"driver": "virtio-scsi", "id": "scsi0", "iothread": "iothre…
8 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
10 {"execute": "device_del", "arguments": {"id": "scsi-hd0"}}
12 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
14 {"execute": "device_del", "arguments": {"id": "scsi-hd0"}}
16 {"execute": "blockdev-del", "arguments": {"node-name": "hd0"}}
19 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "hd0", "read-only": tru…
21 {"execute": "object-add", "arguments": {"id": "iothread0", "qom-type": "iothread"}}
[all …]
H A D267.out7 QEMU X.Y.Z monitor - type 'help' for more information
17 === -drive if=none ===
20 Testing: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none
21 QEMU X.Y.Z monitor - type 'help' for more information
31 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none
32 QEMU X.Y.Z monitor - type 'help' for more information
37 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 --
42 Testing: -drive driver=IMGFMT,file=TEST_DIR/t.IMGFMT,if=none -device virtio-blk,drive=none0
43 QEMU X.Y.Z monitor - type 'help' for more information
48 -- snap0 SIZE yyyy-mm-dd hh:mm:ss 0000:00:00.000 --
[all …]
H A D0654 # Test for additional information emitted by qemu-img info on qcow2
38 qemu_img('create', '-f', iotests.imgfmt, '-o', self.img_options,
45 '''Abstract base class for qemu-img info tests'''
52 data = qemu_img_info(test_img)['format-specific']
53 self.assertEqual(data['type'], iotests.imgfmt)
57 data = qemu_img('info', '--output=human', test_img).stdout.split('\n')
82 result = self.vm.qmp('query-block')['return']
83 drive = next(drive for drive in result if drive['device'] == 'drive0')
84 data = drive['inserted']['image']['format-specific']
85 self.assertEqual(data['type'], iotests.imgfmt)
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DDrive_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################
4 <!--# Redfish Schema: Drive v1.21.0
5 <!--#
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle,
7 <!--# available at http://www.dmtf.org/standards/redfish
8 <!--# Copyright 2014-2025 DMTF in cooperation with Storage Networking Industry Association (SNIA).
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
10 <!--################################################################################
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DDrive_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################
4 <!--# Redfish Schema: Drive v1.21.0
5 <!--#
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle,
7 <!--# available at http://www.dmtf.org/standards/redfish
8 <!--# Copyright 2014-2025 DMTF in cooperation with Storage Networking Industry Association (SNIA).
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
10 <!--################################################################################
[all …]
H A DDriveMetrics_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################
4 <!--# Redfish Schema: DriveMetrics v1.3.0
5 <!--#
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle,
7 <!--# available at http://www.dmtf.org/standards/redfish
8 <!--# Copyright 2014-2025 DMTF in cooperation with Storage Networking Industry Association (SNIA).
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
10 <!--################################################################################
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DDrive.interface.yaml2 Implement to provide drive state management.
5 - name: Rebuilding
6 type: boolean
9 Describes if the drive is currently rebuilding.
10 - name: RequestedDriveTransition
11 type: enum[self.Transition]
14 The desired Drive transition
15 - name: CurrentDriveState
16 type: enum[self.DriveState]
19 The current state of the Drive and is a read-only property.
[all …]
/openbmc/docs/designs/
H A Dnvmemi-over-smbus.md1 # NVMe-MI over SMBus
5 Created: 3-8-2019
9 Currently, OpenBMC does not support NVMe drive information. NVMe-MI
10 specification defines a command that can read the NVMe drive information via
11 SMBus directly. The NVMe drive can provide its information or status, like
17 NVMe-MI specification defines a command called
23 Express Basic Management Command where describe in NVMe-MI specification to
28 …https://nvmexpress.org/wp-content/uploads/NVM_Express_Management_Interface_1_0a_2017.04.08_-_gold.…
38 - Provide a daemon to monitor NVMe drives. Parameters to be monitored are Status
39 Flags, SMART Warnings, Temperature, Percentage Drive Life Used, Vendor ID, and
[all …]
/openbmc/qemu/hw/block/
H A Dxen-block.c5 * See the COPYING file in the top-level directory.
10 #include "qemu/main-loop.h"
14 #include "qapi/qapi-commands-block-core.h"
15 #include "qapi/qapi-commands-qom.h"
16 #include "qapi/qapi-visit-block-core.h"
17 #include "qapi/qobject-input-visitor.h"
23 #include "hw/qdev-properties.h"
24 #include "hw/xen/xen-block.h"
25 #include "hw/xen/xen-backend.h"
27 #include "system/block-backend.h"
[all …]
H A Dfdc-isa.c33 #include "qemu/error-report.h"
38 #include "hw/qdev-properties.h"
39 #include "hw/qdev-properties-system.h"
42 #include "system/block-backend.h"
47 #include "qemu/main-loop.h"
51 #include "fdc-internal.h"
72 FDCtrl *s = &isa->state; in fdctrl_external_reset_isa()
79 fdctrl_init_drives(&ISA_FDC(fdc)->state.bus, fds); in isa_fdc_init_drives()
93 FDCtrl *fdctrl = &isa->state; in isabus_fdc_realize()
96 isa_register_portio_list(isadev, &isa->portio_list, in isabus_fdc_realize()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dstorage_chassis.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 // SPDX-FileCopyrightText: Copyright 2019 Intel Corporation
9 #include "generated/enums/drive.hpp"
37 asyncResp->res.jsonValue["Status"]["State"] = in getDrivePresent()
48 connectionName, path, "xyz.openbmc_project.State.Drive", "Rebuilding", in getDriveState()
63 asyncResp->res.jsonValue["Status"]["State"] = in getDriveState()
69 inline std::optional<drive::MediaType> convertDriveType(std::string_view type) in convertDriveType() argument
71 if (type == "xyz.openbmc_project.Inventory.Item.Drive.DriveType.HDD") in convertDriveType()
73 return drive::MediaType::HDD; in convertDriveType()
[all …]
/openbmc/qemu/docs/
H A Dqdev-device-use.txt1 = How to convert to -device & friends =
7 -device parameter bus.
10 where this address can be configured, devices provide a bus-specific
16 SCSI scsi-id %u
19 virtio-serial-bus nr %u
20 ccid-bus slot %u
23 Example: device i440FX-pcihost is on the root bus, and provides a PCI
24 bus named pci.0. To put a FOO device into its slot 4, use -device
25 FOO,bus=/i440FX-pcihost/pci.0,addr=4. The abbreviated form bus=pci.0
30 A QEMU block device (drive) has a host and a guest part.
[all …]
/openbmc/qemu/docs/system/
H A Ddevice-url-syntax.rst.inc12 "iscsi://<target-ip>[:<port>]/<target-iqn>/<lun>"
14 By default qemu will use the iSCSI initiator-name
15 'iqn.2008-11.org.linux-kvm[:<name>]' but this can also be set from
26 .. parsed-literal::
28 |qemu_system| -iscsi initiator-name=iqn.2001-04.com.example:my-initiator \\
29 -cdrom iscsi://192.0.2.1/iqn.2001-04.com.example/2 \\
30 -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1
34 .. parsed-literal::
36 |qemu_system| -drive file=iscsi://user%password@192.0.2.1/iqn.2001-04.com.example/1
40 .. parsed-literal::
[all …]
/openbmc/estoraged/include/
H A Destoraged.hpp16 #include <xyz/openbmc_project/Inventory/Item/Drive/server.hpp>
31 using sdbusplus::xyz::openbmc_project::Inventory::Item::server::Drive;
63 * @param[in] fd - mmc ioc fd
64 * @param[in] server - sdbusplus asio object server
65 * @param[in] configPath - path of the config object from Entity Manager
66 * @param[in] devPath - path to device file, e.g. /dev/mmcblk0
67 * @param[in] luksName - name for the LUKS container
68 * @param[in] size - size of the drive in bytes
69 * @param[in] lifeTime - percent of lifetime remaining for a drive
70 * @param[in] partNumber - part number for the storage device
[all …]
/openbmc/libbej/test/json/
H A Ddrive_oem.json3 "@odata.type": "#Drive.v1_5_0.Drive",
15 "#Drive.SecureErase": {
16 "target": "/redfish/v1/drives/1/Actions/Drive.SecureErase",
17 "title": "Secure Erase a Drive"
19 "#Drive.Reset": {
20 "target": "/redfish/v1/drives/1/Actions/Drive.Reset",
21 "title": "Reset a Drive",
65 "CapableSpeedGbs": 5.0e-4,
98 "@odata.type": "#OEMDriveExt.v1_0_0.OEM1DriveExt",

12345678910>>...18