Home
last modified time | relevance | path

Searched refs:be (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/qemu/backends/
A Diommufd.c29 be->fd = -1; in iommufd_backend_init()
30 be->users = 0; in iommufd_backend_init()
38 if (be->owned) { in iommufd_backend_finalize()
40 be->fd = -1; in iommufd_backend_finalize()
55 be->fd = fd; in iommufd_backend_set_fd()
80 if (be->owned && !be->users) { in iommufd_backend_connect()
87 be->users++; in iommufd_backend_connect()
89 trace_iommufd_backend_connect(be->fd, be->owned, be->users); in iommufd_backend_connect()
98 be->users--; in iommufd_backend_disconnect()
99 if (!be->users && be->owned) { in iommufd_backend_disconnect()
[all …]
/qemu/chardev/
A Dchar-fe.c35 Chardev *s = be->chr; in qemu_chr_fe_write()
46 Chardev *s = be->chr; in qemu_chr_fe_write_all()
57 Chardev *s = be->chr; in qemu_chr_fe_read_all()
100 Chardev *s = be->chr; in qemu_chr_fe_ioctl()
114 Chardev *s = be->chr; in qemu_chr_fe_get_msgfd()
127 Chardev *s = be->chr; in qemu_chr_fe_get_msgfds()
179 return be->chr; in qemu_chr_fe_get_driver()
184 return !!be->chr; in qemu_chr_fe_backend_connected()
189 return be->chr && be->chr->be_open; in qemu_chr_fe_backend_open()
207 s->be = b; in qemu_chr_fe_init()
[all …]
A Dchar-mux.c133 if (be && be->chr_event) { in mux_chr_send_event()
134 be->chr_event(be->opaque, event); in mux_chr_send_event()
206 be->chr_can_read && be->chr_can_read(be->opaque)) { in mux_chr_accept_input()
207 be->chr_read(be->opaque, in mux_chr_accept_input()
222 if (be && be->chr_can_read) { in mux_chr_can_read()
223 return be->chr_can_read(be->opaque); in mux_chr_can_read()
242 be && be->chr_can_read && in mux_chr_read()
243 be->chr_can_read(be->opaque)) { in mux_chr_read()
244 be->chr_read(be->opaque, &buf[i], 1); in mux_chr_read()
293 be->chr = NULL; in char_mux_finalize()
[all …]
/qemu/host/include/ppc/host/crypto/
A Daes-round.h29 if (be) { in aes_accel_ld()
52 if (be) { in aes_accel_st()
101 t = aes_accel_ld(st, be); in aesenc_MC_accel()
104 aes_accel_st(ret, t, be); in aesenc_MC_accel()
113 t = aes_accel_ld(st, be); in aesenc_SB_SR_AK_accel()
114 k = aes_accel_ld(rk, be); in aesenc_SB_SR_AK_accel()
116 aes_accel_st(ret, t, be); in aesenc_SB_SR_AK_accel()
125 t = aes_accel_ld(st, be); in aesenc_SB_SR_MC_AK_accel()
126 k = aes_accel_ld(rk, be); in aesenc_SB_SR_MC_AK_accel()
128 aes_accel_st(ret, t, be); in aesenc_SB_SR_MC_AK_accel()
[all …]
/qemu/hw/xen/
A Dxen_devconfig.c10 char *fe, char *be, int len) in xen_config_dev_dirs() argument
23 xenstore_mkdir(be, XS_PERM_READ); in xen_config_dev_dirs()
27 static int xen_config_dev_all(char *fe, char *be) in xen_config_dev_all() argument
35 xenstore_write_str(fe, "backend", be); in xen_config_dev_all()
39 xenstore_write_int(be, "online", 1); in xen_config_dev_all()
42 xenstore_write_str(be, "frontend", fe); in xen_config_dev_all()
51 char fe[256], be[256]; in xen_config_dev_vfb() local
56 xenstore_write_str(be, "type", type); in xen_config_dev_vfb()
59 return xen_config_dev_all(fe, be); in xen_config_dev_vfb()
64 char fe[256], be[256]; in xen_config_dev_vkbd() local
[all …]
/qemu/include/chardev/
A Dchar-fe.h58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
65 bool qemu_chr_fe_backend_connected(CharBackend *be);
72 bool qemu_chr_fe_backend_open(CharBackend *be);
132 void qemu_chr_fe_accept_input(CharBackend *be);
140 void qemu_chr_fe_disconnect(CharBackend *be);
148 int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
159 void qemu_chr_fe_set_echo(CharBackend *be, bool echo);
169 void qemu_chr_fe_set_open(CharBackend *be, bool is_open);
179 void qemu_chr_fe_printf(CharBackend *be, const char *fmt, ...)
273 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg);
[all …]
/qemu/include/crypto/
A Daes-round.h33 aesenc_MC_accel(r, st, be); in aesenc_MC()
34 } else if (HOST_BIG_ENDIAN == be) { in aesenc_MC()
54 aesenc_SB_SR_AK_accel(r, st, rk, be); in aesenc_SB_SR_AK()
55 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_AK()
75 aesenc_SB_SR_MC_AK_accel(r, st, rk, be); in aesenc_SB_SR_MC_AK()
76 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_MC_AK()
93 aesdec_IMC_accel(r, st, be); in aesdec_IMC()
94 } else if (HOST_BIG_ENDIAN == be) { in aesdec_IMC()
115 } else if (HOST_BIG_ENDIAN == be) { in aesdec_ISB_ISR_AK()
136 } else if (HOST_BIG_ENDIAN == be) { in aesdec_ISB_ISR_AK_IMC()
[all …]
/qemu/docs/system/
A Dgeneric-loader.rst16 can be done by following the syntax below::
19 [,data-be=<data-be>][,cpu-num=<cpu-num>]
29 The length of the data in bytes. This argument must be included if
32 ``<data-be>``
33 Set to true if the data to be stored on the guest should be written
37 The number of the CPU's address space where the data should be
53 can be done by following the syntax below::
82 A file to be loaded into memory
89 This specifies the CPU that should be used. This is an
90 optional argument and will cause the CPU's PC to be set to the
[all …]
A Dtls.rst13 At a high level, QEMU requires certificates and private keys to be
21 service may be used.
25 authentication, then each client will also need to be issued a
34 commercial CA might be desirable is if enabling the VNC websockets
36 case it might be useful to use a commercial CA to avoid needing to
47 This step only needs to be performed once per organization /
76 support in the VNC server. The ``ca-key.pem`` must not be
142 should now be securely copied to the server for which they were
250 credentials can be used for multiple network backends, so VNC,
261 ``dh-params.pem``, which can be created using the
[all …]
/qemu/include/sysemu/
A Dcryptodev.h285 #define CryptodevSymStatInc(be, op, bytes) do { \ argument
286 be->sym_stat->op##_bytes += (bytes); \
287 be->sym_stat->op##_ops += 1; \
290 #define CryptodevSymStatIncEncrypt(be, bytes) \ argument
293 #define CryptodevSymStatIncDecrypt(be, bytes) \ argument
297 be->asym_stat->op##_bytes += (bytes); \
298 be->asym_stat->op##_ops += 1; \
301 #define CryptodevAsymStatIncEncrypt(be, bytes) \ argument
304 #define CryptodevAsymStatIncDecrypt(be, bytes) \ argument
307 #define CryptodevAsymStatIncSign(be, bytes) \ argument
[all …]
A Diommufd.h40 bool iommufd_backend_connect(IOMMUFDBackend *be, Error **errp);
41 void iommufd_backend_disconnect(IOMMUFDBackend *be);
43 bool iommufd_backend_alloc_ioas(IOMMUFDBackend *be, uint32_t *ioas_id,
45 void iommufd_backend_free_id(IOMMUFDBackend *be, uint32_t id);
46 int iommufd_backend_map_dma(IOMMUFDBackend *be, uint32_t ioas_id, hwaddr iova,
48 int iommufd_backend_unmap_dma(IOMMUFDBackend *be, uint32_t ioas_id,
50 bool iommufd_backend_get_device_info(IOMMUFDBackend *be, uint32_t devid,
53 bool iommufd_backend_alloc_hwpt(IOMMUFDBackend *be, uint32_t dev_id,
58 bool iommufd_backend_set_dirty_tracking(IOMMUFDBackend *be, uint32_t hwpt_id,
60 bool iommufd_backend_get_dirty_bitmap(IOMMUFDBackend *be, uint32_t hwpt_id,
/qemu/tests/unit/
A Dtest-char.c110 CharBackend be; in char_stdio_test_subprocess() local
135 CharBackend be; in char_ringbuf_test() local
434 CharBackend be; in char_websock_test() local
493 CharBackend be; in char_pipe_test() local
557 CharBackend *be; member
607 be = chr->be; in char_udp_test_internal()
670 CharBackend *be = data->be; in char_socket_event_with_error() local
835 data.be = &be; in char_socket_server_test()
1042 data.be = &be; in char_socket_client_test()
1256 CharBackend be; in char_file_fifo_test() local
[all …]
/qemu/host/include/i386/host/crypto/
A Daes-round.h28 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument
33 if (be) { in aesenc_MC_accel()
47 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
52 if (be) { in aesenc_SB_SR_AK_accel()
65 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument
70 if (be) { in aesenc_SB_SR_MC_AK_accel()
86 if (be) { in aesdec_IMC_accel()
98 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument
103 if (be) { in aesdec_ISB_ISR_AK_accel()
121 if (be) { in aesdec_ISB_ISR_AK_IMC_accel()
[all …]
/qemu/ui/
A Dspice-app.c62 ChardevBackend *be = g_new0(ChardevBackend, 1); in OBJECT_DECLARE_TYPE() local
64 be->type = CHARDEV_BACKEND_KIND_SPICEPORT; in OBJECT_DECLARE_TYPE()
67 return be; in OBJECT_DECLARE_TYPE()
76 ChardevBackend *be; in vc_chr_open() local
87 be = chr_spice_backend_new(); in vc_chr_open()
88 be->u.spiceport.data->fqdn = fqdn ? in vc_chr_open()
90 vc->parent_open(chr, be, be_opened, errp); in vc_chr_open()
91 qapi_free_ChardevBackend(be); in vc_chr_open()
193 ChardevBackend *be = chr_spice_backend_new(); in spice_app_display_init() local
200 be, NULL, &error_abort); in spice_app_display_init()
[all …]
/qemu/host/include/aarch64/host/crypto/
A Daes-round.h89 if (be) { in aesenc_MC_accel()
101 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
106 if (be) { in aesenc_SB_SR_AK_accel()
118 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument
123 if (be) { in aesenc_SB_SR_MC_AK_accel()
138 if (be) { in aesdec_IMC_accel()
150 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument
155 if (be) { in aesdec_ISB_ISR_AK_accel()
167 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_IMC_accel() argument
173 if (be) { in aesdec_ISB_ISR_AK_IMC_accel()
[all …]
/qemu/docs/devel/testing/
A Dci-jobs.rst.inc6 QEMU CI pipelines can be tuned by setting some CI environment variables.
11 Variables can be set globally in the user's CI namespace setting.
20 Variables can be set manually when pushing a branch or tag, using
65 * QEMU_JOB_nnnn - variables to be defined in individual jobs
69 * QEMU_CI_nnn - variables to be set by contributors in their
76 concurrently, it should be overridden per pipeline.
120 be a temporary marker until the problems can be addressed, or
147 the jobs to be manually started from the UI
170 kind of host. The runner should be tagged with "aarch64".
177 runner should be tagged with "aarch32".
[all …]
/qemu/docs/interop/
A Dqed_spec.txt11 …file size will be a multiple of the cluster size. If the file size is not a multiple, extra infor…
36 * ''cluster_size'' must be a power of 2 in range [2^12, 2^26].
37 * ''table_size'' must be a power of 2 in range [1, 16].
42be opened safely after clearing the unknown bits. This allows for backwards-compatible changes t…
44 * ''image_size'' is the block device size seen by the guest and must be a multiple of 512 bytes.
50 …e is a raw disk image and no file format autodetection should be attempted. This should be used t…
82 The logical image size must be less than or equal to the maximum possible size of clusters rooted b…
85 L1, L2, and data cluster offsets must be aligned to header.cluster_size. The following offsets hav…
94 …for this purpose and must be set to zero. Image files with cluster_size > 2^12 will have more unu…
135 # Offsets must be within the image file size and must be ''cluster_size'' aligned.
[all …]
A Dqcow2.txt324 4 - 7: Reserved, must be zero.
349 be larger than this value, since it will be rounded
370 should always be present.
668 as it doesn't need to be accurate in inactive L1 tables.
772 contents may be outdated.
785 data must be left as is.
853 1 - 8: Reserved and must be zero.
860 56 - 63: Reserved and must be zero.
867 the image file can be obtained as follows:
886 be zero.
[all …]
A Dparallels.rst48 Must be 2.
99 Bit 0: Empty Image bit. If set, the image should be
123 be considered as filled with zeroes.
129 - the value must be lower than the desired file size
130 - the value must be unique among all BAT entries
140 be allocated by the ``ext_off`` field in the header while other may be
153 Must be 0xAB234CEF23DCEA87
160 extension must be "End of features" (see below).
180 said extension should be left as is.
231 are assumed to be 0.
[all …]
/qemu/docs/devel/
A Dmulti-process.rst172 should be re used.
210 modification. The device emulation objects will be also be based on the
219 be for QEMU. For example:
264 be the same id as used in the remote process.
449 will be extracted, and a secondary socket file descriptor will be sent
469 will drive which objects need to be created.
561 to QEMU requesting the corresponding translation entry, which be both be
667 MMIOs may be waiting to be consumed by an emulation program and multiple
721 be passed to the device emulation program. Only one slave can be created
810 corresponding callback will be invoked.
[all …]
A Dlockcnt.rst5 accessed and should not be freed. For example, a loop that invoke
61 should be kept short;
74 counting in code that has to be both thread-safe and reentrant.
87 - Data protected by the QemuLockCnt must not be freed unless the
128 the code cannot be entered, because the thread will not be able
141 can also be more efficient in two ways:
150 the data structure is expected to be rare.
186 Setting a variable to a non-NULL value can be done between
204 /* Accesses can now be done through "p". */
228 /* Accesses can now be done through "p". */
[all …]
/qemu/docs/
A Dimage-fuzzer.txt3 # Copyright (C) 2014 Maria Kustova <maria.k@catit.be>
10 # This program is distributed in the hope that it will be useful,
61 The runner accepts a JSON array of fields expected to be fuzzed via the
77 For variable arguments next aliases can be used:
120 of fields of this element will be fuzzed every test.
174 1. Should be able to inject random data
197 of all possible test commands can be available in the test runner
200 15. Seed should be logged (for regression purpose)
203 17. Should be compatible with python version 2.4-2.7
217 The fuzzer can be controlled via template, seed and action vector;
[all …]
/qemu/tests/qemu-iotests/
A D075.out3 == check that the first sector can be read ==
7 == check that the last sector can be read ==
11 == block_size must be a multiple of 512 ==
12 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
14 == block_size cannot be zero ==
15 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
18 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or le…
21 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or …
A D092.out5 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k
6 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k
7 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k
8 qemu-io: can't open device TEST_DIR/t.qcow: Cluster size must be between 512 and 64k
12 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
13 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
14 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
15 qemu-io: can't open device TEST_DIR/t.qcow: L2 table size must be between 512 and 64k
/qemu/docs/system/s390x/
A Dvfio-ap.rst15 describes how those cards may be made available to KVM guests using the
40 255. Domains can be further classified into two types:
57 which the AP command-request message is to be sent for processing.
70 must be one of the control domains.
101 message is to be sent (NQAP and PQAP instructions), or from which a
254 otherwise, the vfio_ap device driver will be probed.
479 must be specified on the QEMU command line::
557 will be allowed to start. It makes no sense to have QCI
562 greater than 15 will not be detected by the AP bus
584 newer is ``apft=on`` for older models, APFT will not be
[all …]

Completed in 56 milliseconds

12345678910>>...30