Home
last modified time | relevance | path

Searched full:drive (Results 1 – 25 of 967) sorted by relevance

12345678910>>...39

/openbmc/qemu/tests/qemu-iotests/
H A D17283 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.
120 echo === Using -drive options ===
122 check_floppy_qtree -drive if=floppy,file="$TEST_IMG"
123 check_floppy_qtree -drive if=floppy,file="$TEST_IMG",index=1
124 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" -drive if=floppy,file="$TEST_IMG.2",index=1
128 echo === Using -drive if=none and -device ===
[all …]
H A D05185 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=,if=none,id=$device_id
86 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=on,if=none,id=$device_id
87 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=1234,if=none,id=$device_id
88 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=foo,if=none,id=$device_id
94 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=
95 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=on
96 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=1234
97 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=foo
103 run_qemu -drive file="$TEST_IMG",format=foo
104 run_qemu -drive file="$TEST_IMG",driver=foo
[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 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 D172.out22 drive = "floppy0"
33 drive-type = "288"
51 drive = "floppy0"
62 drive-type = "144"
87 drive = "floppy1"
98 drive-type = "144"
101 drive = "floppy0"
112 drive-type = "288"
141 drive = "floppy1"
152 drive-type = "144"
[all …]
H A D14276 run_qemu -drive file="$TEST_IMG",cache=none
77 run_qemu -drive file="$TEST_IMG",cache=directsync
78 run_qemu -drive file="$TEST_IMG",cache=writeback
79 run_qemu -drive file="$TEST_IMG",cache=writethrough
80 run_qemu -drive file="$TEST_IMG",cache=unsafe
81 run_qemu -drive file="$TEST_IMG",cache=invalid_value
96 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.direct=on | grep -e "Cache" -e "[Cc]annot…
98 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.direct=on | grep -e "Cache" -e "[Cc]…
100 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.direct=on | grep -e "Cache" -e "[…
102 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.direct=on | grep -e "Cache" …
[all …]
H A D18692 check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null
93 …check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null,id…
97 echo "=== -drive if=none/-device=<node-name> ==="
101 # A monitor-owned one from -drive, and anonymous one from -device
103 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=nu…
107 echo "=== -drive if=none/-device=<bb-name> (with medium) ==="
111 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
112 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
116 echo "=== -drive if=none/-device=<bb-name> (without medium) ==="
119 check_info_block -drive if=none
[all …]
H A D186.out57 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null
65 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null,id=qdev_id
73 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null
81 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null,id=qdev_…
89 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null
97 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null,i…
105 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null
114 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null,id=qdev_id
123 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null
132 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null,id=qdev_id
[all …]
H A D23287 echo "=== -drive with read-write image: read-only/auto-read-only combinations ==="
90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off
91 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on
92 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on
94 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off
95 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on
96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off
98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off
99 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on
100 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none
[all …]
H A D1244 # Tests for incremental drive-backup
48 return transaction_action('drive-backup', job_id=device, device=device,
53 def __init__(self, name, drive): argument
55 self.drive = drive
60 return (self.drive['backup'], None)
67 "%s.%s." % (self.drive['id'], self.name))
68 suff = "%i.%s" % (num, self.drive['fmt'])
145 self.vm.cmd('drive-backup', **kwargs)
180 def create_anchor_backup(self, drive=None): argument
181 if drive is None:
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/
H A DDrive_v1.xml4 <!--# Redfish Schema: Drive v1.21.0 …
76 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive">
80 <EntityType Name="Drive" BaseType="Resource.v1_0_0.Resource" Abstract="true">
81 …<Annotation Term="OData.Description" String="The `Drive` schema represents a single physical drive
82 …<Annotation Term="OData.LongDescription" String="This resource shall represent a drive or other ph…
123 …notation Term="OData.Description" String="This action securely erases the contents of the drive."/>
124 … <Annotation Term="OData.LongDescription" String="This action shall securely erase the drive."/>
125 <Parameter Name="Drive" Type="Drive.v1_0_0.Actions"/>
126 <Parameter Name="SanitizationType" Type="Drive.v1_15_0.DataSanitizationType">
139 …<Annotation Term="OData.Description" String="The number of times to overwrite the drive if perform…
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DDrive_v1.xml4 <!--# Redfish Schema: Drive v1.21.0 …
76 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive">
80 <EntityType Name="Drive" BaseType="Resource.v1_0_0.Resource" Abstract="true">
81 …<Annotation Term="OData.Description" String="The `Drive` schema represents a single physical drive
82 …<Annotation Term="OData.LongDescription" String="This resource shall represent a drive or other ph…
123 …notation Term="OData.Description" String="This action securely erases the contents of the drive."/>
124 … <Annotation Term="OData.LongDescription" String="This action shall securely erase the drive."/>
125 <Parameter Name="Drive" Type="Drive.v1_0_0.Actions"/>
126 <Parameter Name="SanitizationType" Type="Drive.v1_15_0.DataSanitizationType">
139 …<Annotation Term="OData.Description" String="The number of times to overwrite the drive if perform…
[all …]
/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",
26 "#Drive.Reset": {
29 "#Drive.RevertToOriginalFactoryState": {
32 "#Drive.SecureErase": {
67 …are locked. This value is used for status reporting to indicate that the drive is partially locke…
83 …ding those that are not currently mapping to active addresses, but leaving the data on the drive.",
84 …Erase the target data's encryption key leaving only the ciphertext on the drive. For more informa…
85 …ite": "Overwrite data by writing an implementation-specific pattern onto all sectors of the drive."
88 …ding those that are not currently mapping to active addresses, but leaving the data on the drive.",
[all …]
H A DDriveMetrics.v1_2_1.json36 "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…
71 "description": "The total number of bad blocks reported by the drive.",
72 …gDescription": "This property shall contain the total number of bad blocks reported by the drive.",
80 … "description": "The number of correctable read errors for the lifetime of the drive.",
81 …"This property shall contain the number of correctable read errors for the lifetime of the drive.",
89 … "description": "The number of correctable write errors for the lifetime of the drive.",
90 …This property shall contain the number of correctable write errors for the lifetime of the drive.",
114 "description": "The NVMe SMART metrics for the drive.",
115drive as defined by the NVMe SMART/Health Information log page. This property shall not be presen…
[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",
26 "#Drive.Reset": {
29 "#Drive.RevertToOriginalFactoryState": {
32 "#Drive.SecureErase": {
67 …are locked. This value is used for status reporting to indicate that the drive is partially locke…
83 …ding those that are not currently mapping to active addresses, but leaving the data on the drive.",
84 …Erase the target data's encryption key leaving only the ciphertext on the drive. For more informa…
85 …ite": "Overwrite data by writing an implementation-specific pattern onto all sectors of the drive."
88 …ding those that are not currently mapping to active addresses, but leaving the data on the drive.",
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DDrive.interface.yaml2 Implement to provide drive attributes.
9 The size in bytes of the Drive. `0` if cannot be determined.
14 The communication protocol used by the Drive.
19 The type of physical form factor of the Drive.
24 The current state of encryption on the drive.
29 Indicates if the data on the drive is accessible. This does not
44 This property shall indicate whether the Drive is resettable.
68 The Drive protocol is unknown.
71 Possible Drive type
75 A hard disk drive is an electro-mechanical data storage device
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DDrive.interface.yaml2 Implement to provide drive state management.
9 Describes if the drive is currently rebuilding.
14 The desired Drive transition
19 The current state of the Drive and is a read-only property.
26 Time when the Drive last rebooted represented in EpochTime. The time
35 The desired transition for the Drive
39 The Drive should be rebooted.
42 The Drive should be non-gracefully rebooted.
45 The Drive should be powercycled.
55 The current state of the Drive
[all …]
/openbmc/qemu/tests/qtest/
H A Dcdrom-test.c142 "-device virtio-scsi -device scsi-cd,drive=cdr " in add_x86_tests()
149 "-device am53c974 -device scsi-cd,drive=cd1 " in add_x86_tests()
150 "-drive if=none,id=cd1,format=raw,file=", in add_x86_tests()
155 "-device dc390 -device scsi-cd,drive=cd1 " in add_x86_tests()
161 "-device lsi53c895a -device scsi-cd,drive=cd1 " in add_x86_tests()
173 "-drive if=ide,media=cdrom,file=", test_cdboot); in add_x86_tests()
179 "-device megasas -device scsi-cd,drive=cd1 " in add_x86_tests()
185 "-device megasas-gen2 -device scsi-cd,drive=cd1 " in add_x86_tests()
208 "-device virtio-scsi -device scsi-cd,drive=cdr " in add_s390x_tests()
212 "-device virtio-blk,drive=d1 " in add_s390x_tests()
[all …]
H A Ddrive_del-test.c147 " 'drive': 'drive0'," in device_add()
170 /* Start with an empty drive */ in test_drive_without_dev()
171 qts = qtest_init("-drive if=none,id=drive0 -M none"); in test_drive_without_dev()
173 /* Delete the drive */ in test_drive_without_dev()
176 /* Ensure re-adding the drive works - there should be no duplicate ID error in test_drive_without_dev()
177 * because the old drive must be gone. in test_drive_without_dev()
198 qts = qtest_init("-drive if=none,id=drive0"); in test_after_failed_device_add()
206 " 'drive': 'drive0'" in test_after_failed_device_add()
211 /* Delete the drive */ in test_after_failed_device_add()
214 /* Try to re-add the drive. This fails with duplicate IDs if a leaked in test_after_failed_device_add()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/sci/svc/pad/
H A Dapi.h22 #define SC_PAD_28FDSOI_DSE_18V_1MA 0U /* Drive strength of 1mA for 1.8v */
23 #define SC_PAD_28FDSOI_DSE_18V_2MA 1U /* Drive strength of 2mA for 1.8v */
24 #define SC_PAD_28FDSOI_DSE_18V_4MA 2U /* Drive strength of 4mA for 1.8v */
25 #define SC_PAD_28FDSOI_DSE_18V_6MA 3U /* Drive strength of 6mA for 1.8v */
26 #define SC_PAD_28FDSOI_DSE_18V_8MA 4U /* Drive strength of 8mA for 1.8v */
27 #define SC_PAD_28FDSOI_DSE_18V_10MA 5U /* Drive strength of 10mA for 1.8v */
28 #define SC_PAD_28FDSOI_DSE_18V_12MA 6U /* Drive strength of 12mA for 1.8v */
30 #define SC_PAD_28FDSOI_DSE_33V_2MA 0U /* Drive strength of 2mA for 3.3v */
31 #define SC_PAD_28FDSOI_DSE_33V_4MA 1U /* Drive strength of 4mA for 3.3v */
32 #define SC_PAD_28FDSOI_DSE_33V_8MA 2U /* Drive strength of 8mA for 3.3v */
[all …]
/openbmc/bmcweb/redfish-core/include/registries/
H A Dstorage_device_message_registry.hpp204 "A drive failure condition was detected.",
205 "A failure condition for the drive located in '%1' was detected.",
211 …ly connected. Ensure all drives are fully seated. Replace the defective cables, drive, or both.",
216 "A previously detected failure condition on a drive was cleared.",
217 "A failure condition for the drive located in '%1' was cleared.",
228 "A drive was inserted.",
229 "The drive located in '%1' was inserted.",
235 "If the drive is not properly displayed, attempt to refresh the cached data.",
240 "A drive missing condition was detected.",
241 "A missing condition for the drive located in '%1' was detected.",
[all …]
/openbmc/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz_configs.h40 .args = "-machine q35 -device virtio-blk,drive=disk0 "
41 "-drive file=null-co://,id=disk0,if=none,format=raw",
46 "-device scsi-hd,drive=disk0 "
47 "-drive file=null-co://,id=disk0,if=none,format=raw",
117 "-drive file=null-co://,if=none,format=raw,id=disk0 "
118 "-device ide-hd,drive=disk0",
123 "-drive file=null-co://,if=none,format=raw,id=disk0 "
124 "-device ide-cd,drive=disk0",
129 "-drive file=null-co://,if=none,format=raw,id=disk0 "
130 "-device ide-hd,drive=disk0",
[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",
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dqom-set-drive4 # Test how changing the 'drive' property via 'qom-set' behaves.
46 self.vm.add_device('scsi-hd,id=iot,drive=node0')
48 self.vm.add_device('scsi-hd,id=no-iot,drive=node1')
58 property='drive'))
60 property='drive', value='node2'))
62 property='drive'))
65 property='drive'))
67 property='drive', value='node3'))
69 property='drive'))
/openbmc/docs/designs/
H A Dnvmemi-over-smbus.md9 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
39 Flags, SMART Warnings, Temperature, Percentage Drive Life Used, Vendor ID, and
43 - Ability to turn the fault LED on/off for each drive by SmartWarnings if the
51 configuration file for drive index, bus ID, and the fault LED object path for
52 each drive. For example,
153 2. Obtain the drive index, bus ID, GPIO present pin, power good pin and fault
156 1. Check if the present pin of target drive is true, if true, means drive
157 exists and go to next step. If not, means drive does not exists and remove
[all …]

12345678910>>...39