Home
last modified time | relevance | path

Searched +full:check +full:- +full:patch (Results 1 – 25 of 39) sorted by relevance

12

/qemu/.gitlab-ci.d/
H A Dcheck-patch.py3 # check-patch.py: run checkpatch.pl across all commits in a branch
7 # SPDX-License-Identifier: GPL-2.0-or-later
14 namespace = "qemu-project"
26 subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
27 subprocess.check_call(["git", "fetch", "--refetch", "check-patch", "master"])
29 ancestor = subprocess.check_output(["git", "merge-base",
30 "check-patch/master", "HEAD"],
35 log = subprocess.check_output(["git", "log", "--format=%H %s",
39 subprocess.check_call(["git", "remote", "rm", "check-patch"])
49 ret = subprocess.run(["scripts/checkpatch.pl", "--terse", ancestor + "..."])
H A Dstatic_checks.yml1 check-patch:
4 image: python:3.10-alpine
7 - .gitlab-ci.d/check-patch.py
12 - apk -U add git perl
15 check-dco:
18 image: python:3.10-alpine
20 script: .gitlab-ci.d/check-dco.py
24 - apk -U add git
26 check-python-minreqs:
31 - make -C python check-minreqs
[all …]
/qemu/docs/devel/
H A Dsubmitting-a-pull-request.rst1 .. _submitting-a-pull-request:
7 sent as simple patch emails to the mailing list (see our page on
8 :ref:`submitting-a-patch`
11 patch series we might ask a submitter to send a pull request. This page
18 threaded as follow-ups to the pull request itself. The simplest way to
19 do this is to use ``git format-patch --cover-letter`` to create the
21 details that ``git request-pull`` outputs.
24 retransmitted patch mails (for example, by using
25 ``--subject-prefix=PULL`` in your ``git format-patch`` command). This
29 **Each patch must have your own Signed-off-by: line** as well as that of
[all …]
H A Dsubmitting-a-patch.rst1 .. _submitting-a-patch:
3 Submitting a Patch
13 one-shot fix, the bare minimum we ask is that:
15 .. list-table:: Minimal Checklist for Patches
17 :header-rows: 1
19 * - Check
20 - Reason
21 * - Patches contain Signed-off-by: Your Name <author@email>
22- States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed…
23 * - Sent as patch emails to ``qemu-devel@nongnu.org``
[all …]
/qemu/scripts/codeconverter/codeconverter/
H A Dqom_macros.py7 # the COPYING file in the top-level directory.
35 def provided_identifiers(self) -> Iterable[RequiredIdentifier]:
60 def merge(self, other: 'TypeIdentifiers') -> Optional['TypeIdentifiers']:
61 """Check if identifiers match, return new identifier with complete list"""
66 def __str__(self) -> str:
71 def check_consistency(self) -> List[str]:
72 """Check if identifiers are consistent with each other,
98 def provided_identifiers(self) -> Iterable[RequiredIdentifier]:
118 # - lines starting with space or tab
119 # - empty lines
[all …]
H A Dpatching.py7 # the COPYING file in the top-level directory.
28 class Patch(NamedTuple): class
48 def __init__(self, f: 'FileInfo', m: Match) -> None:
53 def name(self) -> str:
62 def start(self) -> int:
65 def end(self) -> int:
68 def line_col(self) -> LineAndColumn:
71 def group(self, group: Union[int, str]) -> str:
74 def getgroup(self, group: str) -> Optional[str]:
79 def log(self, level, fmt, *args) -> None:
[all …]
/qemu/scripts/
H A Dcheckpatch.pl5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
49 $P [OPTION]... [GIT-REV-LIST]
54 -q, --quiet quiet
55 --no-tree run without a qemu tree
56 --no-signoff do not check for 'Signed-off-by' line
57 --patch treat FILE as patchfile
58 --branch treat args as GIT revision list
59 --emacs emacs compile window format
60 --terse one line per report
61 -f, --file treat FILE as regular source file
[all …]
H A Dget_maintainer.pl6 # the files modified in a patch or for a file
8 # usage: perl scripts/get_maintainer.pl [OPTIONS] <patch>
9 # perl scripts/get_maintainer.pl [OPTIONS] -f <file>
36 my $email_git_since = "1-year-ago";
37 my $email_hg_since = "-365";
68 push(@signature_tags, "Signed-off-by:");
69 push(@signature_tags, "Reviewed-by:");
70 push(@signature_tags, "Acked-by:");
74 # rfc822 email address - preloaded methods go here.
76 my $rfc822_char = '[\\000-\\377]';
[all …]
/qemu/python/
H A DPACKAGE.rst5 configure, and test QEMU. It is not a fully-fledged SDK and it is subject
9 -----
19 ------------
23 patch submission process
28 <https://gitlab.com/jsnow/qemu/-/tree/python>`_, and there is an
29 official `GitLab mirror <https://gitlab.com/qemu-project/qemu>`_.
32 <https://gitlab.com/qemu-project/qemu/-/issues>`_ and tag ``@jsnow`` in
43 ``make check`` can be used to run the available tests.
/qemu/hw/acpi/
H A Dvmgenid.c9 * See the COPYING file in the top-level directory.
17 #include "hw/acpi/aml-build.h"
20 #include "hw/qdev-properties.h"
21 #include "hw/qdev-properties-system.h"
34 /* Fill in the GUID values. These need to be converted to little-endian in vmgenid_build_acpi()
37 g_array_set_size(guid, VMGENID_FW_CFG_SIZE - ARRAY_SIZE(guid_le.data)); in vmgenid_build_acpi()
38 guid_le = qemu_uuid_bswap(vms->guid); in vmgenid_build_acpi()
51 vgia_offset = table_data->len + in vmgenid_build_acpi()
52 build_append_named_dword(ssdt->buf, "VGIA"); in vmgenid_build_acpi()
59 /* Simple status method to check that address is linked and non-zero */ in vmgenid_build_acpi()
[all …]
H A Dcxl.c25 #include "hw/mem/memory-device.h"
27 #include "hw/acpi/aml-build.h"
28 #include "hw/acpi/bios-linker-loader.h"
45 uuid, aml_touuid("F365F9A6-A7DE-4071-A66A-B40C0B4F8E52"))); in build_cxl_dsm_method()
70 * Return: A package containing two elements - a WORD that returns in build_cxl_dsm_method()
105 SysBusDevice *sbd = SYS_BUS_DEVICE(cxl->cxl_host_bridge); in cedt_build_chbs()
106 struct MemoryRegion *mr = sbd->mmio[0].memory; in cedt_build_chbs()
117 /* UID - currently equal to bus number */ in cedt_build_chbs()
118 build_append_int_noprefix(table_data, pxb->bus_nr, 4); in cedt_build_chbs()
126 /* Base - subregion within a container that is in PA space */ in cedt_build_chbs()
[all …]
/qemu/hw/core/
H A Dgeneric-loader.c22 * provides no hardware interface but allows QEMU to monkey patch memory
26 * This device allows the user to monkey patch memory. To be able to do
28 * memory-related devices. In this case as the backend is so trivial we
38 #include "hw/qdev-properties.h"
41 #include "hw/core/generic-loader.h"
49 if (s->set_pc) { in generic_loader_reset()
50 cpu_reset(s->cpu); in generic_loader_reset()
51 cpu_set_pc(s->cpu, s->addr); in generic_loader_reset()
54 if (s->data_len) { in generic_loader_reset()
55 assert(s->data_len <= sizeof(s->data)); in generic_loader_reset()
[all …]
/qemu/linux-user/ppc/
H A Dcpu_loop.c4 * Copyright (c) 2003-2008 Fabrice Bellard
23 #include "user-internals.h"
25 #include "signal-common.h"
60 return -1; in ppc_dcr_read()
65 return -1; in ppc_dcr_write()
91 case POWERPC_EXCP_MCHECK: /* Machine check exception */ in cpu_loop()
92 cpu_abort(cs, "Machine check exception while in user mode. " in cpu_loop()
99 env->spr[SPR_DAR]); in cpu_loop()
107 /* XXX: check this */ in cpu_loop()
108 switch (env->error_code & ~0xF) { in cpu_loop()
[all …]
/qemu/target/hexagon/mmvec/
H A Ddecode_ext_mmvec.c2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
33 for (i = 1; i < pkt->num_insns; i++) { in check_new_value()
34 uint16_t use_opcode = pkt->insn[i].opcode; in check_new_value()
38 int use_regidx = pkt->insn[i].new_read_idx; in check_new_value()
39 g_assert(pkt->insn[i].new_read_idx != -1); in check_new_value()
41 * What's encoded at the N-field is the offset to who's producing in check_new_value()
45 int def_off = ((pkt->insn[i].regno[use_regidx]) >> 1); in check_new_value()
46 int def_oreg = pkt->insn[i].regno[use_regidx] & 1; in check_new_value()
47 int def_idx = -1; in check_new_value()
48 for (j = i - 1; (j >= 0) && (def_off >= 0); j--) { in check_new_value()
[all …]
/qemu/docs/
H A Dmultiseat.txt6 ------------
12 ./configure --enable-sdl
16 ./configure --enable-gtk
21 qemu -accel kvm -usb $memory $disk $whatever \
22 -display [ sdl | gtk ] \
23 -vga std \
24 -device usb-tablet
27 standard ps/2 keyboard (implicitly there) and the usb-tablet. Now the
30 -device pci-bridge,addr=12.0,chassis_nr=2,id=head.2 \
31 -device secondary-vga,bus=head.2,addr=02.0,id=video.2 \
[all …]
/qemu/roms/
H A Dedk2-build.py4 https://gitlab.com/kraxel/edk2-build-config
19 # pylint: disable=unused-variable
21 """ detect 'git rebase -x edk2-build.py master' testbuilds """
27 with open(gitdir, 'r', encoding = 'utf-8') as f:
30 if not os.path.exists(f'{gitdir}/rebase-merge/msgnum'):
32 with open(f'{gitdir}/rebase-merge/msgnum', 'r', encoding = 'utf-8') as f:
34 with open(f'{gitdir}/rebase-merge/end', 'r', encoding = 'utf-8') as f:
36 with open(f'{gitdir}/rebase-merge/head-name', 'r', encoding = 'utf-8') as f:
39 rebase_prefix = f'[ {int(msgnum/2)} / {int(end/2)} - {head[-1]} ] '
42 version_override = "test-build-patch-series"
[all …]
/qemu/accel/tcg/
H A Dcpu-exec.c4 * Copyright (c) 2003-2005 Fabrice Bellard
21 #include "qemu/qemu-print.h"
23 #include "qapi/type-helpers.h"
25 #include "accel/tcg/cpu-ops.h"
26 #include "accel/tcg/helper-retaddr.h"
29 #include "exec/cpu-common.h"
30 #include "exec/cpu-interrupt.h"
31 #include "exec/page-protection.h"
32 #include "exec/mmap-lock.h"
33 #include "exec/translation-block.h"
[all …]
/qemu/docs/devel/testing/
H A Dmain.rst7 everything from unit testing and exercising specific sub-systems all
9 tests you can run ``make check-help`` from either the source or build
16 [./pyvenv/bin/]meson test --suite qemu:softfloat
37 Testing with "make check"
38 -------------------------
40 The "make check" testing family includes most of the C based tests in QEMU.
46 make check
49 Different sub-types of "make check" tests will be explained below.
55 .. _unit-tests:
68 In QEMU, unit tests can be invoked with ``make check-unit``. They are
[all …]
/qemu/pc-bios/s390-ccw/
H A Dnetmain.c2 * S390 virtio-ccw network boot loading program
6 * Based on the S390 virtio-ccw loading program (main.c)
35 #include "s390-ccw.h"
38 #include "s390-time.h"
65 return dest_timer - get_time_ms(); in get_timer()
76 * client MAC, client IP, TFTP-server MAC, TFTP-server IP,
80 * non-0 : error condition occurred.
85 int rc = -1; in dhcp()
93 printf("\b\b\b%03d", i - 1); in dhcp()
94 if (!--i) { in dhcp()
[all …]
/qemu/hw/scsi/
H A Dscsi-generic.c17 #include "qemu/error-report.h"
20 #include "migration/qemu-file-types.h"
21 #include "hw/qdev-properties.h"
22 #include "hw/qdev-properties-system.h"
24 #include "system/block-backend.h"
33 #define MAX_UINT ((unsigned int)-1)
48 qemu_put_sbe32s(f, &r->buflen); in scsi_generic_save_request()
49 if (r->buflen && r->req.cmd.mode == SCSI_XFER_TO_DEV) { in scsi_generic_save_request()
50 assert(!r->req.sg); in scsi_generic_save_request()
51 qemu_put_buffer(f, r->buf, r->req.cmd.xfer); in scsi_generic_save_request()
[all …]
/qemu/target/hexagon/
H A Ddecode.c2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
27 #define fZXTN(N, M, VAL) ((VAL) & ((1LL << (N)) - 1))
38 * Certain operand types represent a non-contiguous set of values.
39 * For example, the compound compare-and-jump instruction can only access
40 * registers R0-R7 and R16-23.
53 insn->regno[OPNUM] = DECODE_REGISTER_##NAME[insn->regno[OPNUM]];
69 Insn *insn = ctx->insn; in DECODE_MAPPED()
70 if (!insn->extension_valid || in DECODE_MAPPED()
71 insn->which_extended != immno) { in DECODE_MAPPED()
104 direction = -1; in decode_send_insn_to()
[all …]
/qemu/
H A DMAINTAINERS7 to be CC'd when submitting a patch to obtain appropriate review.
9 In general, if you have a question about inclusion of a patch, you should
10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
24 Q: Patchwork web based patch tracking system site
30 much other than throw the odd patch in. See below.
49 patch or file. For instance:
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
[all …]
/qemu/hw/pci/
H A Dpci.c33 #include "hw/qdev-properties.h"
34 #include "hw/qdev-properties-system.h"
35 #include "migration/qemu-file-types.h"
42 #include "qemu/error-report.h"
52 #include "pci-internal.h"
78 DEFINE_PROP_PCI_DEVFN("addr", PCIDevice, devfn, -1),
81 DEFINE_PROP_INT32("rombar", PCIDevice, rom_bar, -1),
84 DEFINE_PROP_BIT("x-pcie-lnksta-dllla", PCIDevice, cap_present,
86 DEFINE_PROP_BIT("x-pcie-extcap-init", PCIDevice, cap_present,
90 DEFINE_PROP_UINT32("acpi-index", PCIDevice, acpi_index, 0),
[all …]
/qemu/tests/qtest/
H A Dbios-tables-test.c10 * See the COPYING file in the top-level directory.
17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h
20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts
23 * After 1-3 above tests will pass but ignore differences with the expected files.
24 * You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists
27 * make check V=2
31 * output. If not - disassemble them yourself in any way you like.
32 * Look at the differences - make sure they make sense and match what the
38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh
41 * Expected binary updates needs to be a separate patch from the code that
[all …]
/qemu/pc-bios/
HDopenbios-sparc32 ... line-size icache-nlines icache-associativity ecache-line-size ecache-nlines ecache-associativity ncaches

12