Home
last modified time | relevance | path

Searched full:o (Results 1 – 25 of 1051) sorted by relevance

12345678910>>...43

/qemu/tests/qemu-iotests/
H A D08260 # Multiple -o should be merged
61 run_qemu_img create -f $IMGFMT -o cluster_size=4k -o lazy_refcounts=on "$TEST_IMG" $size
64 # If the same -o key is specified more than once, the last one wins
65 run_qemu_img create -f $IMGFMT -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k "$TEST_IM…
67 run_qemu_img create -f $IMGFMT -o cluster_size=4k,cluster_size=8k "$TEST_IMG" $size
71 echo === create: help for -o ===
73 # Adding the help option to a command without other -o options
74 run_qemu_img create -f $IMGFMT -o help "$TEST_IMG" $size
75 run_qemu_img create -f $IMGFMT -o \? "$TEST_IMG" $size
77 # Adding the help option to the same -o option
[all …]
H A D13753 # Try all options and then check that all of the basic I/O operations still
56 -c "reopen -o lazy-refcounts=on,pass-discard-request=on" \
57 -c "reopen -o lazy-refcounts=off,pass-discard-request=off" \
58 -c "reopen -o pass-discard-snapshot=on,pass-discard-other=on" \
59 -c "reopen -o pass-discard-snapshot=off,pass-discard-other=off" \
60 -c "reopen -o overlap-check=all" \
61 -c "reopen -o overlap-check=none" \
62 -c "reopen -o overlap-check=cached" \
63 -c "reopen -o overlap-check=constant" \
64 -c "reopen -o overlap-check.template=all" \
[all …]
H A D06160 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
63 $QEMU_IMG amend -o "compat=0.10" "$TEST_IMG"
71 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
76 $QEMU_IMG amend -o "compat=0.10" --image-opts \
87 _make_test_img -o "compat=1.1,lazy_refcounts=on" 64M
92 $QEMU_IMG amend -o "compat=0.10" "$TEST_IMG"
100 _make_test_img -o "compat=1.1" 64M
104 $QEMU_IMG amend -o "compat=0.10" "$TEST_IMG"
111 _make_test_img -o "compat=0.10" 64M
114 $QEMU_IMG amend -o "compat=1.1,lazy_refcounts=on,size=128M" "$TEST_IMG"
[all …]
H A D13350 $QEMU_IO -c 'reopen -o node-name=foo' $TEST_IMG
51 $QEMU_IO -c 'reopen -o file.node-name=foo' $TEST_IMG
52 $QEMU_IO -c 'reopen -o backing.node-name=foo' $TEST_IMG
59 $QEMU_IO -c "open -o node-name=foo $TEST_IMG" -c 'reopen -o node-name=foo'
60 $QEMU_IO -c "open -o file.node-name=foo $TEST_IMG" -c 'reopen -o file.node-name=foo'
61 $QEMU_IO -c "open -o backing.node-name=foo $TEST_IMG" -c 'reopen -o backing.node-name=foo'
64 $QEMU_IO -c "open -o node-name=foo $TEST_IMG" -c 'reopen'
65 $QEMU_IO -c "open -o file.node-name=foo $TEST_IMG" -c 'reopen'
66 $QEMU_IO -c "open -o backing.node-name=foo $TEST_IMG" -c 'reopen'
72 $QEMU_IO -c 'reopen -o driver=raw' $TEST_IMG
[all …]
H A D049.out48 == 2. Specifying size via -o ==
50 qemu-img create -f qcow2 -o size=1024 TEST_DIR/t.qcow2
53 qemu-img create -f qcow2 -o size=1024b TEST_DIR/t.qcow2
56 qemu-img create -f qcow2 -o size=1k TEST_DIR/t.qcow2
59 qemu-img create -f qcow2 -o size=1K TEST_DIR/t.qcow2
62 qemu-img create -f qcow2 -o size=1M TEST_DIR/t.qcow2
65 qemu-img create -f qcow2 -o size=1G TEST_DIR/t.qcow2
68 qemu-img create -f qcow2 -o size=1T TEST_DIR/t.qcow2
71 qemu-img create -f qcow2 -o size=1024.0 TEST_DIR/t.qcow2
74 qemu-img create -f qcow2 -o size=1024.0b TEST_DIR/t.qcow2
[all …]
H A D04967 echo "== 2. Specifying size via -o =="
70 test_qemu_img create -f $IMGFMT -o size=$s "$TEST_IMG"
79 test_qemu_img create -f $IMGFMT -o size=$s "$TEST_IMG"
82 echo "== 4. Specify size twice (-o and traditional parameter) =="
85 test_qemu_img create -f $IMGFMT -o size=10M "$TEST_IMG" 20M
93 test_qemu_img create -f $IMGFMT -o cluster_size=$s "$TEST_IMG" 64M
98 test_qemu_img create -f $IMGFMT -o compat=0.10 "$TEST_IMG" 64M
99 test_qemu_img create -f $IMGFMT -o compat=1.1 "$TEST_IMG" 64M
101 test_qemu_img create -f $IMGFMT -o compat=0.42 "$TEST_IMG" 64M
102 test_qemu_img create -f $IMGFMT -o compat=foobar "$TEST_IMG" 64M
[all …]
H A D17859 $QEMU_IMG measure -o , # invalid option list
63 $QEMU_IMG measure -O foo "$TEST_IMG" # unknown image file format
87 $QEMU_IMG convert -f "$fmt" -O "$IMGFMT" "$TEST_IMG" "$@" "$TEST_IMG.converted"
97 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 0
98 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 2G
99 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 64G
100 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 256G
101 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 1T
102 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 2P
103 $QEMU_IMG measure --output=$ofmt -O "$IMGFMT" --size 7E
[all …]
H A D11259 _make_test_img -o "refcount_bits=0" 64M
61 _make_test_img -o "refcount_bits=-1" 64M
63 _make_test_img -o "refcount_bits=128" 64M
65 _make_test_img -o "refcount_bits=42" 64M
68 _make_test_img -o "refcount_bits=1" 64M
72 _make_test_img -o "refcount_bits=64" 64M
84 _make_test_img -o "compat=0.10,refcount_bits=16" 64M
88 _make_test_img -o "compat=0.10,refcount_bits=1" 64M
89 _make_test_img -o "compat=0.10,refcount_bits=64" 64M
96 _make_test_img -o "refcount_bits=1" 64M
[all …]
H A D12258 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base \
59 -o backing_fmt=$IMGFMT "$TEST_IMG" "$TEST_IMG".orig
70 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base -F $IMGFMT \
73 $QEMU_IMG convert -O $IMGFMT -c -B "$TEST_IMG".base -o backing_fmt=$IMGFMT \
78 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base -o backing_fmt=$IMGFMT \
81 $QEMU_IMG convert -O $IMGFMT -c -B "$TEST_IMG".base -o backing_fmt=$IMGFMT \
106 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base -o compat=0.10 \
107 -o backing_fmt=$IMGFMT "$TEST_IMG" "$TEST_IMG".orig
118 $QEMU_IMG convert -O $IMGFMT -B "$TEST_IMG".base -o compat=0.10 \
119 -o backing_fmt=$IMGFMT "$TEST_IMG" "$TEST_IMG".orig
[all …]
H A D082.out12 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on TEST_DIR/t.qcow2 128M
26 Testing: create -f qcow2 -o cluster_size=4k -o lazy_refcounts=on -o cluster_size=8k TEST_DIR/t.qcow…
40 Testing: create -f qcow2 -o cluster_size=4k,cluster_size=8k TEST_DIR/t.qcow2 128M
47 === create: help for -o ===
49 Testing: create -f qcow2 -o help TEST_DIR/t.qcow2 128M
75 Testing: create -f qcow2 -o ? TEST_DIR/t.qcow2 128M
101 Testing: create -f qcow2 -o cluster_size=4k,help TEST_DIR/t.qcow2 128M
127 Testing: create -f qcow2 -o cluster_size=4k,? TEST_DIR/t.qcow2 128M
153 Testing: create -f qcow2 -o help,cluster_size=4k TEST_DIR/t.qcow2 128M
179 Testing: create -f qcow2 -o ?,cluster_size=4k TEST_DIR/t.qcow2 128M
[all …]
/qemu/disas/
H A Driscv.h226 #define rv_fmt_none "O\t"
227 #define rv_fmt_rs1 "O\t1"
228 #define rv_fmt_rs2 "O\t2"
229 #define rv_fmt_offset "O\to"
230 #define rv_fmt_pred_succ "O\tp,s"
231 #define rv_fmt_rs1_rs2 "O\t1,2"
232 #define rv_fmt_rd_imm "O\t0,i"
233 #define rv_fmt_rd_uimm "O\t0,Ui"
234 #define rv_fmt_imm "O\ti"
235 #define rv_fmt_rd_offset "O\t0,o"
[all …]
/qemu/target/s390x/tcg/
H A Dtranslate.c60 * for compact. For checking purposes there is an "O" for original index
938 static int get_field1(const DisasContext *s, enum DisasFieldIndexO o, in get_field1() argument
941 assert(have_field1(s, o)); in get_field1()
1182 static DisasJumpType op_abs(DisasContext *s, DisasOps *o) in op_abs() argument
1184 tcg_gen_abs_i64(o->out, o->in2); in op_abs()
1188 static DisasJumpType op_absf32(DisasContext *s, DisasOps *o) in op_absf32() argument
1190 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffffull); in op_absf32()
1194 static DisasJumpType op_absf64(DisasContext *s, DisasOps *o) in op_absf64() argument
1196 tcg_gen_andi_i64(o->out, o->in2, 0x7fffffffffffffffull); in op_absf64()
1200 static DisasJumpType op_absf128(DisasContext *s, DisasOps *o) in op_absf128() argument
[all …]
/qemu/pc-bios/s390-ccw/
H A DMakefile26 %.o: %.c
28 -c -o $@ $<,Compiling)
30 %.o: %.S
32 -c -o $@ $<,Assembling)
36 OBJECTS = start.o main.o bootmap.o jump2ipl.o sclp.o menu.o netmain.o \
37 virtio.o virtio-net.o virtio-scsi.o virtio-blkdev.o cio.o dasd-ipl.o
52 cc-test = $(CC) -Werror $1 -c -o /dev/null -xc /dev/null >/dev/null 2>/dev/null
68 -MMD -MP -MT $@ -MF $(@:%.o=%.d)
70 CTYPE_OBJS = isdigit.o isxdigit.o toupper.o
71 %.o : $(SLOF_DIR)/lib/libc/ctype/%.c
[all …]
/qemu/hw/remote/
H A Dvfio-user-obj.c76 #define VFU_OBJECT_ERROR(o, fmt, ...) \ argument
116 static void vfu_object_init_ctx(VfuObject *o, Error **errp);
148 VfuObject *o = VFU_OBJECT(obj); in vfu_object_set_socket() local
150 if (o->vfu_ctx) { in vfu_object_set_socket()
155 qapi_free_SocketAddress(o->socket); in vfu_object_set_socket()
157 o->socket = NULL; in vfu_object_set_socket()
159 visit_type_SocketAddress(v, name, &o->socket, errp); in vfu_object_set_socket()
161 if (o->socket->type != SOCKET_ADDRESS_TYPE_UNIX) { in vfu_object_set_socket()
163 SocketAddressType_str(o->socket->type)); in vfu_object_set_socket()
164 qapi_free_SocketAddress(o->socket); in vfu_object_set_socket()
[all …]
H A Dremote-obj.c53 RemoteObject *o = REMOTE_OBJECT(obj); in remote_object_set_fd() local
68 o->fd = fd; in remote_object_set_fd()
73 RemoteObject *o = REMOTE_OBJECT(obj); in remote_object_set_devid() local
75 g_free(o->devid); in remote_object_set_devid()
77 o->devid = g_strdup(str); in remote_object_set_devid()
83 RemoteObject *o = container_of(listener, RemoteObject, listener); in remote_object_unrealize_listener() local
85 if (o->dev == dev) { in remote_object_unrealize_listener()
86 object_unref(OBJECT(o)); in remote_object_unrealize_listener()
92 RemoteObject *o = container_of(notifier, RemoteObject, machine_done); in remote_object_machine_done() local
99 dev = qdev_find_recursive(sysbus_get_default(), o->devid); in remote_object_machine_done()
[all …]
/qemu/tests/tcg/mips/user/ase/msa/
H A Dtest_msa_compile_64r6el.sh7 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_b_64r6el
9 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_h_64r6el
11 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_w_64r6el
13 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_d_64r6el
15 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_b_64r6el
17 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_h_64r6el
19 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_w_64r6el
21 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_d_64r6el
23 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_pcnt_b_64r6el
25 -EL -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_pcnt_h_64r6el
[all …]
H A Dtest_msa_compile_64r6eb.sh7 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_b_64r6eb
9 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_h_64r6eb
11 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_w_64r6eb
13 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nloc_d_64r6eb
15 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_b_64r6eb
17 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_h_64r6eb
19 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_w_64r6eb
21 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_nlzc_d_64r6eb
23 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_pcnt_b_64r6eb
25 -EB -static -mabi=64 -march=mips64r6 -mmsa -o /tmp/test_msa_pcnt_h_64r6eb
[all …]
H A Dtest_msa_compile_32r5eb.sh7 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
10 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
13 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
16 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
19 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
22 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
25 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
28 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
31 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
34 -EB -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
[all …]
H A Dtest_msa_compile_32r5el.sh7 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
10 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
13 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
16 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
19 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
22 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
25 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
28 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
31 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
34 -EL -static -mabi=32 -march=mips32r5 -mmsa -mno-odd-spreg -mfp64 -mnan=2008 -o \
[all …]
/qemu/target/arm/tcg/
H A Dpauth_helper.c32 uint64_t o = 0; in pac_cell_shuffle() local
34 o |= extract64(i, 52, 4); in pac_cell_shuffle()
35 o |= extract64(i, 24, 4) << 4; in pac_cell_shuffle()
36 o |= extract64(i, 44, 4) << 8; in pac_cell_shuffle()
37 o |= extract64(i, 0, 4) << 12; in pac_cell_shuffle()
39 o |= extract64(i, 28, 4) << 16; in pac_cell_shuffle()
40 o |= extract64(i, 48, 4) << 20; in pac_cell_shuffle()
41 o |= extract64(i, 4, 4) << 24; in pac_cell_shuffle()
42 o |= extract64(i, 40, 4) << 28; in pac_cell_shuffle()
44 o |= extract64(i, 32, 4) << 32; in pac_cell_shuffle()
[all …]
/qemu/tests/multiboot/
H A DMakefile14 mmap.elf: start.o mmap.o libc.o link.ld
15 $(LD) $(LDFLAGS_ELF) -o $@ $^ $(LIBS)
17 modules.elf: start.o modules.o libc.o link.ld
18 $(LD) $(LDFLAGS_ELF) -o $@ $^ $(LIBS)
20 aout_kludge_%.bin: aout_kludge_%.o link.ld
21 $(LD) $(LDFLAGS_BIN) -o $@ $^ $(LIBS)
23 .PRECIOUS: aout_kludge_%.o
24 aout_kludge_%.o: aout_kludge.S
25 $(CC) $(ASFLAGS) -DSCENARIO=$* -c -o $@ $^
27 %.o: %.c
[all …]
/qemu/hw/usb/
H A Ddev-mtp.c383 MTPObject *o = g_new0(MTPObject, 1); in usb_mtp_object_alloc() local
389 o->watchid = -1; in usb_mtp_object_alloc()
390 o->handle = handle; in usb_mtp_object_alloc()
391 o->parent = parent; in usb_mtp_object_alloc()
392 o->name = g_strdup(name); in usb_mtp_object_alloc()
394 o->path = g_strdup(name); in usb_mtp_object_alloc()
396 o->path = g_strdup_printf("%s/%s", parent->path, name); in usb_mtp_object_alloc()
399 if (lstat(o->path, &o->stat) != 0) { in usb_mtp_object_alloc()
402 if (S_ISREG(o->stat.st_mode)) { in usb_mtp_object_alloc()
403 o->format = FMT_UNDEFINED_OBJECT; in usb_mtp_object_alloc()
[all …]
/qemu/backends/
H A Dhostmem-file.c98 static char *get_mem_path(Object *o, Error **errp) in get_mem_path() argument
100 HostMemoryBackendFile *fb = MEMORY_BACKEND_FILE(o); in get_mem_path()
105 static void set_mem_path(Object *o, const char *str, Error **errp) in set_mem_path() argument
107 HostMemoryBackend *backend = MEMORY_BACKEND(o); in set_mem_path()
108 HostMemoryBackendFile *fb = MEMORY_BACKEND_FILE(o); in set_mem_path()
112 object_get_typename(o)); in set_mem_path()
119 static bool file_memory_backend_get_discard_data(Object *o, Error **errp) in file_memory_backend_get_discard_data() argument
121 return MEMORY_BACKEND_FILE(o)->discard_data; in file_memory_backend_get_discard_data()
124 static void file_memory_backend_set_discard_data(Object *o, bool value, in file_memory_backend_set_discard_data() argument
127 MEMORY_BACKEND_FILE(o)->discard_data = value; in file_memory_backend_set_discard_data()
[all …]
/qemu/linux-user/
H A Dlinux_loop.h11 * Written by Theodore Ts'o, 3/29/93.
13 * Copyright 1993 by Theodore Ts'o. Redistribution of this file is
40 int lo_number; /* ioctl r/o */
41 __kernel_old_dev_t lo_device; /* ioctl r/o */
42 unsigned long lo_inode; /* ioctl r/o */
43 __kernel_old_dev_t lo_rdevice; /* ioctl r/o */
46 int lo_encrypt_key_size; /* ioctl w/o */
47 int lo_flags; /* ioctl r/o */
49 unsigned char lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */
55 __u64 lo_device; /* ioctl r/o */
[all …]
/qemu/pc-bios/vof/
H A DMakefile14 %.o: %.S
15 $(call quiet-command, $(CC) $(EXTRA_CFLAGS) -c -o $@ $<,Assembling)
17 %.o: %.c
18 $(call quiet-command, $(CC) $(EXTRA_CFLAGS) -c -fno-stack-protector -o $@ $<,Compiling)
20 vof.elf: entry.o main.o ci.o bootmem.o libc.o
21 $(call quiet-command, $(LD) -nostdlib -e_start -T$(SRC_DIR)/vof.lds -EB -o $@ $^,Linking)
24 …$(call quiet-command, $(OBJCOPY) -O binary -j .text -j .data -j .toc -j .got2 $^ $@,Extracting raw…
27 rm -f *.o vof.bin vof.elf *~

12345678910>>...43