Home
last modified time | relevance | path

Searched +full:lock +full:- +full:pr (Results 1 – 12 of 12) sorted by relevance

/qemu/scsi/
H A Dpr-manager-helper.c2 * Persistent reservation manager that talks to qemu-pr-helper
15 #include "scsi/pr-manager.h"
18 #include "io/channel-socket.h"
19 #include "pr-helper.h"
20 #include "qapi/qapi-events-block.h"
28 #define TYPE_PR_MANAGER_HELPER "pr-manager-helper"
38 QemuMutex lock; member
47 qapi_event_send_pr_manager_status_changed(id, !!pr_mgr->ioc); in pr_manager_send_status_changed_event()
51 /* Called with lock held. */
55 ssize_t r = qio_channel_read_all(pr_mgr->ioc, buf, sz, errp); in pr_manager_helper_read()
[all …]
/qemu/.github/workflows/
H A Dlockdown.yml1 # Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown
10 pull-requests: write
14 runs-on: ubuntu-latest
16 - uses: dessant/repo-lockdown@v2
18 pr-comment: |
21 This repository is a read-only mirror of the project's repostories hosted
22 on https://gitlab.com/qemu-project/qemu.git.
29 lock-pr: true
30 close-pr: true
/qemu/target/sh4/
H A Dtranslate.c22 #include "tcg/tcg-op.h"
23 #include "exec/helper-proto.h"
24 #include "exec/helper-gen.h"
25 #include "exec/translation-block.h"
29 #include "qemu/qemu-print.h"
32 #include "exec/helper-info.c.inc"
40 uint32_t envflags; /* should stay in sync with env->flags using TCG ops */
54 #define UNALIGN(C) (ctx->tbflags & TB_FLAG_UNALIGN ? MO_UNALN : MO_ALIGN)
56 #define IS_USER(ctx) (!(ctx->tbflags & (1u << SR_MD)))
60 /* Target-specific values for ctx->base.is_jmp. */
[all …]
/qemu/target/ppc/
H A Dtcg-excp_helper.c4 * Copyright (c) 2003-2007 Jocelyn Mayer
20 #include "qemu/main-loop.h"
23 #include "accel/tcg/cpu-ldst.h"
24 #include "exec/helper-proto.h"
41 cs->exception_index = exception; in raise_exception_err_ra()
42 env->error_code = error_code; in raise_exception_err_ra()
107 for (int i = 3; i >= 0; i--) { in helper_SIMON_LIKE_32_64()
115 z = (z0 >> (63 - i)) & 1; in helper_SIMON_LIKE_32_64()
175 #include "qemu/guest-random.h"
182 if (env->msr & R_MSR_PR_MASK) { \
[all …]
H A Dtranslate.c4 * Copyright (c) 2003-2007 Jocelyn Mayer
25 #include "tcg/tcg-op.h"
26 #include "tcg/tcg-op-gvec.h"
27 #include "qemu/host-utils.h"
29 #include "exec/helper-proto.h"
30 #include "exec/helper-gen.h"
33 #include "exec/translation-block.h"
37 #include "power8-pmu.h"
39 #include "qemu/qemu-print.h"
43 #include "exec/helper-info.c.inc"
[all …]
H A Dcpu.h4 * Copyright (c) 2003-2007 Jocelyn Mayer
24 #include "qemu/cpu-float.h"
25 #include "exec/cpu-common.h"
26 #include "exec/cpu-defs.h"
27 #include "exec/cpu-interrupt.h"
28 #include "cpu-qom.h"
43 #define PPC_BIT_NR(bit) (63 - (bit))
45 #define PPC_BIT32_NR(bit) (31 - (bit))
48 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs))
49 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be)) | \
[all …]
/qemu/target/alpha/
H A Dtranslate.c23 #include "qemu/host-utils.h"
24 #include "tcg/tcg-op.h"
25 #include "exec/helper-proto.h"
26 #include "exec/helper-gen.h"
28 #include "exec/translation-block.h"
33 #include "exec/helper-info.c.inc"
57 /* True if generating pc-relative code. */
66 /* Current flush-to-zero setting for this TB. */
78 #define UNALIGN(C) (C)->unalign
83 /* Target-specific return values from translate_one, indicating the
[all …]
/qemu/block/
H A Dfile-posix.c28 #include "qemu/error-report.h"
29 #include "block/block-io.h"
36 #include "block/thread-pool.h"
38 #include "block/raw-aio.h"
42 #include "scsi/pr-manager.h"
76 #include <linux/dm-ioctl.h>
146 * - DM_MPATH_PROBE_PATHS returns success, but before SG_IO completes, another
149 * - DM_MPATH_PROBE_PATHS failed all paths in the current path group, so we have
154 * failover), it's rare to have more than eight path groups - and even then
171 * s->fd. */
[all …]
/qemu/
H A Dmeson.build15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
66 have_linux_user = have_linux_user or target.endswith('linux-user')
67 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
68 have_system = have_system or target.endswith('-softmmu')
113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
120 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
128 '--rustc-version', rustc.version(),
129 '--workspace', meson.project_source_root() / 'rust']
[all …]
/qemu/accel/kvm/
H A Dkvm-all.c12 * See the COPYING file in the top-level directory.
24 #include "qemu/config-file.h"
25 #include "qemu/error-report.h"
34 #include "system/accel-blocker.h"
40 #include "qemu/main-loop.h"
44 #include "qapi/qapi-types-common.h"
45 #include "qapi/qapi-visit-common.h"
47 #include "qemu/guest-random.h"
49 #include "kvm-cpus.h"
56 /* This check must be after config-host.h is included */
[all …]
/qemu/hw/scsi/
H A Dscsi-disk.c9 * 2009-Dec-12 Artyom Tarasenko : implemented stamdard inquiry for the case
12 * 2009-Oct-13 Artyom Tarasenko : implemented the block descriptor in the
25 #include "qemu/error-report.h"
26 #include "qemu/main-loop.h"
28 #include "qemu/hw-version.h"
31 #include "migration/qemu-file-types.h"
36 #include "system/block-backend.h"
39 #include "hw/qdev-properties.h"
40 #include "hw/qdev-properties-system.h"
58 #define DEFAULT_MAX_IO_SIZE INT_MAX /* 2 GB - 1 block */
[all …]
/qemu/linux-user/
H A Delfload.c1 /* This is the Linux kernel elf-loading code, ported into user space */
10 #include "user/tswap-target.h"
11 #include "user/page-protection.h"
12 #include "exec/page-protection.h"
13 #include "exec/mmap-lock.h"
14 #include "exec/translation-block.h"
16 #include "user/guest-base.h"
17 #include "user-internals.h"
18 #include "signal-common.h"
20 #include "user-mmap.h"
[all …]