Home
last modified time | relevance | path

Searched full:new (Results 1 – 25 of 1055) sorted by relevance

12345678910>>...43

/qemu/include/hw/nvram/
H A Dfw_cfg.h103 * @key: selector key value for new fw_cfg item
107 * Add a new fw_cfg item, available by selecting the given key, as a raw
116 * @key: selector key value for new fw_cfg item
119 * Add a new fw_cfg item, available by selecting the given key. The item
128 * @key: selector key value for new fw_cfg item
131 * Replace the fw_cfg item available by selecting the given key. The new
142 * @key: selector key value for new fw_cfg item
145 * Add a new fw_cfg item, available by selecting the given key. The item
154 * @key: selector key value for new fw_cfg item
157 * Replace the fw_cfg item available by selecting the given key. The new
[all …]
/qemu/host/include/generic/host/
H A Dstore-insert-al16.h.inc24 Int128Alias old, new;
31 new.s = int128_and(old.s, msk);
32 new.s = int128_or(new.s, val);
33 } while (!__atomic_compare_exchange_n(pu, &old.u, new.u, true,
36 Int128 old, new, cmp;
43 new = int128_and(old, msk);
44 new = int128_or(new, val);
45 old = atomic16_cmpxchg(ps, cmp, new);
H A Datomic128-cas.h.inc16 atomic16_cmpxchg(Int128 *ptr, Int128 cmp, Int128 new)
22 n.s = new;
29 atomic16_cmpxchg(Int128 *ptr, Int128 cmp, Int128 new)
35 n.s = new;
43 atomic16_cmpxchg(Int128 *ptr, Int128 cmp, Int128 new);
/qemu/target/s390x/tcg/
H A Dinsn-data.h.inc26 C(0x1a00, AR, RR_a, Z, r1, r2, new, r1_32, add, adds32)
27 C(0xb9f8, ARK, RRF_a, DO, r2, r3, new, r1_32, add, adds32)
28 C(0x5a00, A, RX_a, Z, r1, m2_32s, new, r1_32, add, adds32)
29 C(0xe35a, AY, RXY_a, LD, r1, m2_32s, new, r1_32, add, adds32)
35 F(0xb30a, AEBR, RRE, Z, e1, e2, new, e1, aeb, f32, IF_BFP)
36 F(0xb31a, ADBR, RRE, Z, f1, f2, new, f1, adb, f64, IF_BFP)
38 F(0xed0a, AEB, RXE, Z, e1, m2_32u, new, e1, aeb, f32, IF_BFP)
39 F(0xed1a, ADB, RXE, Z, f1, m2_64, new, f1, adb, f64, IF_BFP)
41 C(0xb9c8, AHHHR, RRF_a, HW, r2_sr32, r3_sr32, new, r1_32h, add, adds32)
42 C(0xb9d8, AHHLR, RRF_a, HW, r2_sr32, r3, new, r1_32h, add, adds32)
[all …]
/qemu/linux-user/hppa/
H A Dcpu_loop.c32 abi_ulong new = env->gr[24]; in hppa_lws() local
44 new = tswap32(new); in hppa_lws()
45 ret = qatomic_cmpxchg((uint32_t *)g2h(cs, addr), old, new); in hppa_lws()
49 case 2: /* elf32 atomic "new" cmpxchg */ in hppa_lws()
54 if (((addr | old | new) & ((1 << size) - 1)) in hppa_lws()
57 || !access_ok(cs, VERIFY_READ, new, 1 << size)) { in hppa_lws()
65 new = *(uint8_t *)g2h(cs, new); in hppa_lws()
66 ret = qatomic_cmpxchg((uint8_t *)g2h(cs, addr), old, new); in hppa_lws()
71 new = *(uint16_t *)g2h(cs, new); in hppa_lws()
72 ret = qatomic_cmpxchg((uint16_t *)g2h(cs, addr), old, new); in hppa_lws()
[all …]
/qemu/docs/devel/migration/
H A DCPR.rst5 VM is migrated to a new QEMU instance on the same host. It is
13 guest block devices between quitting old QEMU and starting new QEMU.
24 old and new QEMU instances are not active concurrently, the URI cannot
34 then the user may reboot to a new host kernel before restarting QEMU.
89 kexec_core: Starting new kernel
128 kexec_core: Starting new kernel
152 This mode allows the user to transfer a guest to a new QEMU instance
154 RAM in place, albeit with new virtual addresses in new QEMU. Devices
158 The user starts new QEMU on the same host as old QEMU, with command-
169 new QEMU.
[all …]
/qemu/tests/qemu-iotests/
H A D12148 echo '=== New refcount structures may not conflict with existing structures ==='
62 # which has precisely the required size so that the new refcount block allocated
68 # This should not happen, the new refcount structures may not conflict with
89 # new refcount structures at cluster index 65536 (which is the same as the
90 # cluster_index parameter in this case), allocating a new refcount block for
92 # Therefore, the new refcount structures may not be put at cluster_index
93 # (because new_block already describes that cluster, and the new structures try
100 echo '=== Allocating a new refcount block must not leave holes in the image ==='
113 # All 256 entries of the refcount block are used, so writing a new
114 # data cluster also allocates a new refcount block
H A D29378 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec4,${PR}iter-time=10,${PR}ke…
80 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec1,${PR}iter-time=10
82 $QEMU_IMG amend $SECRETS $IMGS1 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10,${PR}ke…
85 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec2,${PR}iter-time=10
114 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec2,${PR}iter-time=10
119 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec0,${PR}iter-time=10
123 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10
127 $QEMU_IMG amend $SECRETS $IMGS2 -o ${PR}state=active,${PR}new-secret=sec3,${PR}iter-time=10
158 $QEMU_IMG amend $SECRETS $IMGS3 -o ${PR}state=active,${PR}new-secret=sec0,${PR}iter-time=10
171 $QEMU_IMG amend $SECRETS $IMGS0 -o ${PR}state=active,${PR}new-secret=sec1,${PR}keyslot=0
[all …]
/qemu/target/hexagon/imported/
H A Dbranch.idef53 Q6INSN(TAG##tnew,"if (Pu4.new) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEW(PuN),…
54 Q6INSN(TAG##fnew,"if (!Pu4.new) "OPER":nt "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEWNOT(P…
55 Q6INSN(TAG##tnewpt,"if (Pu4.new) "OPER":t "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEW(PuN)…
56 Q6INSN(TAG##fnewpt,"if (!Pu4.new) "OPER":t "OPER2,ATTRIB,DESCR,{fBRANCH_SPECULATE_STALL(fLSBNEWNOT(…
106 Q6INSN(J4_##TAG##_tp0_jump_nt, "p0="TST"; if (p0.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJU…
107 Q6INSN(J4_##TAG##_fp0_jump_nt, "p0="TST"; if (!p0.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJ…
108 Q6INSN(J4_##TAG##_tp0_jump_t, "p0="TST"; if (p0.new) jump:t #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJUM…
109 Q6INSN(J4_##TAG##_fp0_jump_t, "p0="TST"; if (!p0.new) jump:t #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJU…
110 Q6INSN(J4_##TAG##_tp1_jump_nt, "p1="TST"; if (p1.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJU…
111 Q6INSN(J4_##TAG##_fp1_jump_nt, "p1="TST"; if (!p1.new) jump:nt #r9:2", ATTRIBS(A_CJNEWDIR,A_NEWCMPJ…
[all …]
/qemu/target/sparc/
H A Dtrace-events18 int_helper_set_softint(uint32_t softint) "new 0x%08x"
19 int_helper_clear_softint(uint32_t softint) "new 0x%08x"
20 int_helper_write_softint(uint32_t softint) "new 0x%08x"
23 sparc64_cpu_check_irqs_set_irq(unsigned int i, int old, int new) "Set CPU IRQ %d old=0x%x new=0x%x"
28 …e(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=0x%x new=0x%x"
29 win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=0x%x (unchanged)"
30 win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=0x%x new=0x%x"
/qemu/accel/tcg/
H A Datomic_template.h162 XDATA_TYPE *haddr, cmp, old, new, val = xval; \ in GEN_ATOMIC_HELPER()
167 old = cmp; new = FN(old, val); \ in GEN_ATOMIC_HELPER()
168 cmp = qatomic_cmpxchg__nocheck(haddr, old, new); \ in GEN_ATOMIC_HELPER()
185 GEN_ATOMIC_HELPER_FN(smin_fetch, MIN, SDATA_TYPE, new)
186 GEN_ATOMIC_HELPER_FN(umin_fetch, MIN, DATA_TYPE, new)
187 GEN_ATOMIC_HELPER_FN(smax_fetch, MAX, SDATA_TYPE, new)
188 GEN_ATOMIC_HELPER_FN(umax_fetch, MAX, DATA_TYPE, new)
284 XDATA_TYPE *haddr, ldo, ldn, old, new, val = xval; \
289 ldo = ldn; old = BSWAP(ldo); new = FN(old, val); \
290 ldn = qatomic_cmpxchg__nocheck(haddr, ldo, BSWAP(new)); \
[all …]
/qemu/util/
H A Dlockcnt.c50 * new value of lockcnt->count.
77 * fast path. Once we can, get out to compute the new destination in qemu_lockcnt_cmpxchg_or_wait()
83 int new = expected - QEMU_LOCKCNT_STATE_LOCKED + QEMU_LOCKCNT_STATE_WAITING; in qemu_lockcnt_cmpxchg_or_wait() local
85 trace_lockcnt_futex_wait_prepare(lockcnt, expected, new); in qemu_lockcnt_cmpxchg_or_wait()
86 *val = qatomic_cmpxchg(&lockcnt->count, expected, new); in qemu_lockcnt_cmpxchg_or_wait()
88 *val = new; in qemu_lockcnt_cmpxchg_or_wait()
260 int expected, new, val; in qemu_lockcnt_inc_and_unlock() local
265 new = (val + QEMU_LOCKCNT_COUNT_STEP) & ~QEMU_LOCKCNT_STATE_MASK; in qemu_lockcnt_inc_and_unlock()
266 trace_lockcnt_unlock_attempt(lockcnt, val, new); in qemu_lockcnt_inc_and_unlock()
267 val = qatomic_cmpxchg(&lockcnt->count, val, new); in qemu_lockcnt_inc_and_unlock()
[all …]
H A Dtrace-events5 run_poll_handlers_end(void *ctx, bool progress, int64_t timeout) "ctx %p progress %d new timeout %"…
6 poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
7 poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
22 buffer_resize(const char *buf, size_t olen, size_t len) "%s: old %zd, new %zd"
65 lockcnt_fast_path_attempt(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d"
66 lockcnt_fast_path_success(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d …
67 lockcnt_unlock_attempt(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d"
68 lockcnt_unlock_success(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d succee…
69 lockcnt_futex_wait_prepare(const void *lockcnt, int expected, int new) "lockcnt %p preparing slow p…
71 lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d"
H A Dqht.c47 * race with us) and then copying all entries into a new hash map. Then, the
197 static void qht_do_resize_reset(struct qht *ht, struct qht_map *new,
525 static inline void qht_do_resize(struct qht *ht, struct qht_map *new) in qht_do_resize() argument
527 qht_do_resize_reset(ht, new, false); in qht_do_resize()
530 static inline void qht_do_resize_and_reset(struct qht *ht, struct qht_map *new) in qht_do_resize_and_reset() argument
532 qht_do_resize_reset(ht, new, true); in qht_do_resize_and_reset()
537 struct qht_map *new = NULL; in qht_reset_size() local
546 new = qht_map_create(n_buckets); in qht_reset_size()
548 qht_do_resize_and_reset(ht, new); in qht_reset_size()
551 return !!new; in qht_reset_size()
[all …]
H A Diova-tree.c126 DMAMap *new; in iova_tree_insert() local
137 new = g_new0(DMAMap, 1); in iova_tree_insert()
138 memcpy(new, map, sizeof(*new)); in iova_tree_insert()
139 iova_tree_insert_internal(tree->tree, new); in iova_tree_insert()
288 DMAMap *new; in gpa_tree_insert() local
300 new = g_new0(DMAMap, 1); in gpa_tree_insert()
301 memcpy(new, map, sizeof(*new)); in gpa_tree_insert()
302 iova_tree_insert_internal(tree->tree, new); in gpa_tree_insert()
/qemu/io/
H A Dtrace-events4 qio_task_new(void *task, void *source, void *func, void *opaque) "Task new task=%p source=%p func=%…
14 qio_channel_null_new(void *ioc) "Null new ioc=%p"
17 qio_channel_socket_new(void *ioc) "Socket new ioc=%p"
18 qio_channel_socket_new_fd(void *ioc, int fd) "Socket new ioc=%p fd=%d"
36 qio_channel_file_new_fd(void *ioc, int fd) "File new fd ioc=%p fd=%d"
37 qio_channel_file_new_path(void *ioc, const char *path, int flags, int mode, int fd) "File new fd io…
40 qio_channel_tls_new_client(void *ioc, void *master, void *creds, const char *hostname) "TLS new cli…
41 qio_channel_tls_new_server(void *ioc, void *master, void *creds, const char *aclname) "TLS new clie…
56 qio_channel_websock_new_server(void *ioc, void *master) "Websock new client ioc=%p master=%p"
71 qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid) "Command new pid ioc=%p wr…
[all …]
/qemu/tests/tcg/hexagon/
H A Dtest_dotnew.S1 /* Purpose: test the .new operator while performing memory stores. */
12 memw(sp+#0) = r0.new
16 memw(sp+#4) = r1.new
20 memw(sp+#8) = r2.new
36 p0 = cmp.eq(r3, #2); if (p0.new) jump:t pass
H A Dtest_reorder.S2 * Purpose: demonstrate handling of .new uses appearing before the associated
5 * only if P0.new is true, but P0 is assigned to 1 (R4) in the next instruction
20 if (p0.new) jump:nt skip
31 p0 = cmp.eq(r2, #-559038737); if (p0.new) jump:t pass
/qemu/rust/qemu-api-macros/src/
H A Dbits.rs17 TT::Group(Group::new(Delimiter::Parenthesis, ts)) in paren()
21 TT::Ident(Ident::new(s, Span::call_site())) in ident()
25 TT::Punct(Punct::new(ch, Spacing::Alone)) in punct()
52 let mut output = TokenStream::new(); in parse_primary()
65 let mut output = TokenStream::new(); in parse_primary()
68 TT::Punct(Punct::new(':', Spacing::Joint)), in parse_primary()
69 TT::Punct(Punct::new(':', Spacing::Joint)), in parse_primary()
86 out.extend([punct('.'), ident("invert"), paren(TokenStream::new())]); in parse_primary()
126 let mut rhs = TokenStream::new(); in parse_binop()
177 let mut typ = proc_macro2::TokenStream::new(); in parse()
[all …]
/qemu/rust/qemu-api/src/
H A Dcell.rs178 //! fn new() -> Pin<Box<MyStruct>> {
266 BqlCell::new(self.get()) in clone()
274 BqlCell::new(Default::default()) in default()
302 /// Creates a new `BqlCell<T>` containing the given value.
304 BqlCell::new(t) in from()
321 /// Creates a new `BqlCell` containing the given value.
329 /// let c = BqlCell::new(5);
332 pub const fn new(value: T) -> BqlCell<T> { in new() method
334 value: UnsafeCell::new(value), in new()
346 /// let c = BqlCell::new(5);
[all …]
/qemu/include/io/
H A Dchannel-watch.h38 * Create a new main loop source that is able to
44 * Returns: the new main loop source
56 * Create a new main loop source that is able to
62 * Returns: the new main loop source
75 * Create a new main loop source that is able to
83 * Returns: the new main loop source
H A Dchannel-file.h54 * Create a new IO channel object for a file represented
66 * Returns: the new channel object
76 * Create a new IO channel object for a file represented by the @fd
84 * Returns: the new channel object
96 * Create a new IO channel object for a file represented
102 * Returns: the new channel object
/qemu/include/chardev/
H A Dchar.h22 CHR_EVENT_OPENED, /* new connection established */
80 * Create a new character backend from a QemuOpts list.
82 * Returns: on success: a new character backend
93 * @backend: a new backend
104 * Returns: a new backend or NULL on error
115 * Create a new character backend from a URI.
118 * Returns: a new character backend
129 * Create a new character backend from a URI.
132 * Returns: a new character backend
139 * @opts: the new backend options
[all …]
/qemu/hw/net/rocker/
H A Drocker_desc.c252 bool desc_ring_set_head(DescRing *ring, uint32_t new) in desc_ring_set_head() argument
261 if (new >= ring->size) { in desc_ring_set_head()
263 new, ring->index, ring->size); in desc_ring_set_head()
267 if (((head < tail) && ((new >= tail) || (new < head))) || in desc_ring_set_head()
268 ((head > tail) && ((new >= tail) && (new < head)))) { in desc_ring_set_head()
270 "(head %d, tail %d, new head %d)\n", in desc_ring_set_head()
271 ring->index, head, tail, new); in desc_ring_set_head()
275 if (new == ring->head) { in desc_ring_set_head()
276 DPRINTF("WARNING: setting head (%d) to current head position\n", new); in desc_ring_set_head()
279 ring->head = new; in desc_ring_set_head()
/qemu/docs/system/
H A Dvm-templating.rst13 new VMs. This allows for fast and efficient replication of VMs, resulting
16 Conceptually, the VM state is frozen, to then be used as a basis for new
18 new VMs are able to read template VM memory; however, any modifications
37 ends up in a file, from where it can be reused for the new VMs:
58 In order to have a new VM be based on a template VM, we have to
80 template VM or when starting new VMs based on a template VM.
111 new VM, or don't supply any memory to the template VM using virtio-mem

12345678910>>...43