Home
last modified time | relevance | path

Searched +full:read +full:- +full:only (Results 1 – 25 of 1072) sorted by relevance

12345678910>>...43

/openbmc/qemu/tests/qemu-iotests/
H A D2324 # Test for auto-read-only
51 if ! test -t 0; then
52 while read cmd; do
57 ) | $QEMU -nographic -monitor stdio -nodefaults "$@"
69 echo "info block -n" | run_qemu "$@" | grep -e "(file" -e "QEMU_PROG"
76 if [ -n "$TEST_IMG_FILE" ]; then
80 chmod a-w $TEST_IMG
87 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
[all …]
H A D232.out4 === -drive with read-write image: read-only/auto-read-only combinations ===
6 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
7 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
8 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
18 === -drive with read-only image: read-only/auto-read-only combinations ===
20 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
21 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
22 NODE_NAME: TEST_DIR/t.IMGFMT (file, read-only)
24 QEMU_PROG: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none,read-only=off,auto-read-only=off: Coul…
28 QEMU_PROG: -drive driver=file,file=TEST_DIR/t.IMGFMT,if=none,auto-read-only=off: Could not open 'TE…
[all …]
H A D153.out2 == readonly=off,force-share=on should be rejected ==
3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be u…
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
17 == Launching another QEMU, opts: 'read-only=on' ==
18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock
21 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
[all …]
H A D2474 # Test for auto-read-only with commit block job
50 echo "=== Try commit to backing file with auto-read-only ==="
60 {"execute":"block-commit",
61 "arguments":{"device":"format-4", "top-node": "format-2", "base-node":"format-0", "job-id":"job0"}}
69 ) | $QEMU -qmp stdio -nographic -nodefaults \
70 -blockdev file,node-name=file-0,filename=$TEST_IMG.0,auto-read-only=on \
71 -blockdev $IMGFMT,node-name=format-0,file=file-0,read-only=on \
72 -blockdev file,node-name=file-1,filename=$TEST_IMG.1,auto-read-only=on \
73 -blockdev $IMGFMT,node-name=format-1,file=file-1,read-only=on,backing=format-0 \
74 -blockdev file,node-name=file-2,filename=$TEST_IMG.2,auto-read-only=on \
[all …]
H A D187.out4 Start from read-only
6 qemu-io: Block node is read-only
9 qemu-io: Block node is read-only
11 Start from read-write
15 qemu-io: Block node is read-only
H A D070.out3 === Verify open image read-only fails, due to dirty log ===
4 qemu-io: can't open device TEST_DIR/iotest-dirtylog-10G-4M.vhdx: VHDX image file 'TEST_DIR/iotest-d…
6 qemu-img check -r all 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx'
8 read 18874368/18874368 bytes at offset 0
10 === Verify qemu-img check -r all replays log ===
18 === Verify open image read-only succeeds after log replay ===
19 read 18874368/18874368 bytes at offset 0
23 image: TEST_DIR/test-disk2vhd.IMGFMT
H A D2494 # Test that a backing image is put back in read-only mode after
5 # block-commit (both when it fails and when it succeeds).
51 # Create the images: base <- int <- active
53 TEST_IMG="$TEST_IMG.int" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT
54 _make_test_img -b "$TEST_IMG.int" -F $IMGFMT
57 # none0: base (read-only)
58 # none1: base <- int <- active
59 _launch_qemu -drive if=none,file="${TEST_IMG}.base",node-name=base,read-only=on \
60 -drive if=none,file="${TEST_IMG}",backing.node-name=int,backing.backing=base
67 echo '=== Send a write command to a drive opened in read-only mode (1)'
[all …]
H A D293.out6 read 4096/4096 bytes at offset 0
16 read 4096/4096 bytes at offset 0
18 read 4096/4096 bytes at offset 0
20 read 4096/4096 bytes at offset 0
22 read 4096/4096 bytes at offset 0
26 qemu-io: can't open: Invalid password, cannot unlock any keyslot
29 qemu-io: can't open: Invalid password, cannot unlock any keyslot
38 qemu-img: Can't add a keyslot - all keyslots are in use
41 read 4096/4096 bytes at offset 0
43 read 4096/4096 bytes at offset 0
[all …]
H A D133.out5 === Check that node-name can't be changed ===
7 qemu-io: Cannot change the option 'node-name'
8 qemu-io: Cannot change the option 'node-name'
9 qemu-io: Cannot change the option 'node-name'
11 === Check that unchanged node-name is okay ===
16 qemu-io: Cannot change the option 'driver'
17 qemu-io: Cannot change the option 'driver'
18 qemu-io: Cannot change the option 'driver'
23 === Check that reopening works with non-string options ===
25 format name: null-co
[all …]
H A D012.out4 == mark image read-only
6 == read from read-only image
7 read 512/512 bytes at offset 0
H A D0124 # Make sure we can open read-only images
47 test -z "$TEST_IMG_FILE" && TEST_IMG_FILE=$TEST_IMG
53 echo "== mark image read-only"
54 chmod a-w "$TEST_IMG_FILE"
57 echo "== read from read-only image"
58 $QEMU_IO -r -c "read 0 512" "$TEST_IMG" | _filter_qemu_io
62 rm -f $seq.full
/openbmc/qemu/include/hw/i2c/
H A Dpmbus_device.h6 * SPDX-License-Identifier: GPL-2.0-or-later
21 PMBUS_PAGE_PLUS_WRITE = 0x05, /* Block Write-only */
22 PMBUS_PAGE_PLUS_READ = 0x06, /* Block Read-only */
26 PMBUS_STORE_DEFAULT_CODE = 0x13, /* Write-only Byte */
27 PMBUS_RESTORE_DEFAULT_CODE = 0x14, /* Write-only Byte */
30 PMBUS_STORE_USER_CODE = 0x17, /* Write-only Byte */
31 PMBUS_RESTORE_USER_CODE = 0x18, /* Write-only Byte */
32 PMBUS_CAPABILITY = 0x19, /* Read-Only byte */
33 PMBUS_QUERY = 0x1A, /* Write-Only */
34 PMBUS_SMBALERT_MASK = 0x1B, /* Block read, Word write */
[all …]
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_mmio.h1 /* SPDX-License-Identifier: GPL-2.0+ */
14 /* Magic value ("virt" string) - Read Only */
17 /* Virtio device version - Read Only */
20 /* Virtio device ID - Read Only */
23 /* Virtio vendor ID - Read Only */
28 * (32 bits per set) - Read Only
32 /* Device (host) features set selector - Write Only */
37 * (32 bits per set) - Write Only
41 /* Activated features set selector - Write Only */
44 #ifndef VIRTIO_MMIO_NO_LEGACY /* LEGACY DEVICES ONLY! */
[all …]
H A Dvirtio_pci.h1 /* SPDX-License-Identifier: BSD-3-Clause */
13 /* A 32-bit r/o bitmask of the features supported by the host */
16 /* A 32-bit r/w bitmask of features activated by the guest */
19 /* A 32-bit r/w PFN for the currently selected queue */
22 /* A 16-bit r/o queue size for the currently selected queue */
25 /* A 16-bit r/w queue selector */
28 /* A 16-bit r/w queue notifier */
31 /* An 8-bit device status register */
35 * An 8-bit r/o interrupt status register. Reading the value will return the
37 * a read-and-acknowledge.
[all …]
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_mmio.h42 /* Magic value ("virt" string) - Read Only */
45 /* Virtio device version - Read Only */
48 /* Virtio device ID - Read Only */
51 /* Virtio vendor ID - Read Only */
55 * (32 bits per set) - Read Only */
58 /* Device (host) features set selector - Write Only */
62 * (32 bits per set) - Write Only */
65 /* Activated features set selector - Write Only */
69 #ifndef VIRTIO_MMIO_NO_LEGACY /* LEGACY DEVICES ONLY! */
71 /* Guest's memory page size in bytes - Write Only */
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dread-only-rootfs.rst1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
3 Creating a Read-Only Root Filesystem
7 root filesystem's write permissions (i.e. you need a read-only root
9 from a read-only storage device. For either case, you can customize your
14 Supporting a read-only root filesystem requires that the system and
23 To create the read-only root filesystem, simply add the
24 "read-only-rootfs" feature to your image, normally in one of two ways.
25 The first way is to add the "read-only-rootfs" image feature in the
28 IMAGE_FEATURES += "read-only-rootfs"
34 EXTRA_IMAGE_FEATURES = "read-only-rootfs"
[all …]
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset_mpc83xx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
17 "Address Only Transfer Type",
62 "TDM-DMAC"
70 "Address-only, Clean Block",
71 "Address-only, lwarx reservation set",
72 "Single-beat or Burst write",
74 "Address-only, Flush Block",
78 "Address-only, sync",
79 "Address-only, tlbsync",
80 "Single-beat or Burst read",
[all …]
/openbmc/qemu/docs/specs/
H A Dacpi_pci_hotplug.rst1 QEMU<->ACPI BIOS PCI hotplug interface
7 ACPI GPE block (IO ports 0xafe0-0xafe3, byte access)
8 ----------------------------------------------------
13 PCI slot injection notification pending (IO port 0xae00-0xae03, 4-byte access)
14 ------------------------------------------------------------------------------
18 Read by ACPI BIOS GPE.1 handler to notify OS of injection
19 events. Read-only.
21 PCI slot removal notification (IO port 0xae04-0xae07, 4-byte access)
22 --------------------------------------------------------------------
26 Read by ACPI BIOS GPE.1 handler to notify OS of removal
[all …]
/openbmc/qemu/hw/i2c/
H A Dpmbus_device.c6 * SPDX-License-Identifier: GPL-2.0-or-later
25 /* X = (Y * 10^-R - b) / m */ in pmbus_direct_mode2data()
26 uint32_t x = (value / pow(10, c.R) - c.b) / c.m; in pmbus_direct_mode2data()
32 /* L = D * 2^(-e) */ in pmbus_data2linear_mode()
34 return value << (-exp); in pmbus_data2linear_mode()
43 return value >> (-exp); in pmbus_linear_mode2data()
50 if (pmdev->out_buf_len + len > SMBUS_DATA_MAX_LEN) { in pmbus_send()
56 for (int i = len - 1; i >= 0; i--) { in pmbus_send()
57 pmdev->out_buf[i + pmdev->out_buf_len] = data[len - i - 1]; in pmbus_send()
59 pmdev->out_buf_len += len; in pmbus_send()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dcheckroot.sh3 # SPDX-License-Identifier: GPL-2.0-only
8 # Required-Start: udev
9 # Required-Stop:
10 # Default-Start: S
11 # Default-Stop:
12 # Short-Description: Check to root file system.
21 test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
24 # Read /etc/fstab.
32 while read fs mnt type opts dump pass junk <&9
52 test "$pass" = 0 -o "$pass" = "" && rootcheck=no
[all …]
/openbmc/u-boot/include/usb/
H A Dulpi.h1 /* SPDX-License-Identifier: GPL-2.0 */
40 * @ulpi_vp - structure containing ULPI viewport data
48 * @speed - ULPI_FC_HIGH_SPEED, ULPI_FC_FULL_SPEED (default),
56 * @ext_power - external VBUS supply is used (default is false)
57 * @ext_indicator - external VBUS over-current indicator is used
65 * @external - external VBUS over-current indicator is used
66 * @passthru - disables ANDing of internal VBUS comparator
68 * @complement - inverts the external VBUS input
74 * Enable/disable pull-down resistors on D+ and D- USB lines.
82 * @opmode - ULPI_FC_OPMODE_NORMAL (default), ULPI_FC_OPMODE_NONDRIVING,
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dinit.d-add-support-for-read-only-rootfs.patch4 Subject: [PATCH] init.d: add support for read-only rootfs
6 Upstream-Status: Inappropriate [oe specific]
8 Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9 ---
13 diff --git a/init.d b/init.d
15 --- a/init.d
17 @@ -6,8 +6,48 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
21 +test -f /etc/default/rcS && . /etc/default/rcS
22 test -f /etc/default/bind9 && . /etc/default/bind9
27 + dir=`readlink -f $DIRECTORY`
[all …]
/openbmc/qemu/include/hw/gpio/
H A Dpca9552_regs.h4 * Copyright (c) 2017-2018, IBM Corporation.
7 * later. See the COPYING file in the top-level directory.
15 #define PCA9552_INPUT0 0 /* read only input register 0 */
16 #define PCA9552_INPUT1 1 /* read only input register 1 */
17 #define PCA9552_PSC0 2 /* read/write frequency prescaler 0 */
18 #define PCA9552_PWM0 3 /* read/write PWM register 0 */
19 #define PCA9552_PSC1 4 /* read/write frequency prescaler 1 */
20 #define PCA9552_PWM1 5 /* read/write PWM register 1 */
21 #define PCA9552_LS0 6 /* read/write LED0 to LED3 selector */
22 #define PCA9552_LS1 7 /* read/write LED4 to LED7 selector */
[all …]
/openbmc/phosphor-snmp/mibs/
H A DNotificationMIB.txt1 OPENBMC-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
4 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
6 FROM SNMPv2-SMI
7 MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
8 FROM SNMPv2-CONF
11 obmcPhosphor MODULE-IDENTITY
12 LAST-UPDATED "201807130000Z"
14 CONTACT-INFO
33 --
34 --
[all …]
/openbmc/hiomapd/vpnor/
H A Dpartition.hpp1 /* SPDX-License-Identifier: Apache-2.0 */
30 * @param[in] backend - The backend context used to process the request
31 * @param[in] offset - The absolute offset into the flash device as
40 backend(backend), partition(((struct vpnor_data*)backend->priv) in Request()
41 ->vpnor->table->partition(offset)), in Request()
42 base(partition.data.base << backend->block_size_shift), in Request()
43 offset(offset - base) in Request()
52 ssize_t read(void* dst, size_t len);
69 * partition(RW/PRSV/RO) then tries to read the file from
70 * the read only partition.
[all …]

12345678910>>...43