Searched +full:check +full:- +full:patch (Results 1 – 25 of 39) sorted by relevance
12
3 # check-patch.py: run checkpatch.pl across all commits in a branch7 # SPDX-License-Identifier: GPL-2.0-or-later14 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 + "..."])
1 check-patch:4 image: python:3.10-alpine7 - .gitlab-ci.d/check-patch.py12 - apk -U add git perl15 check-dco:18 image: python:3.10-alpine20 script: .gitlab-ci.d/check-dco.py24 - apk -U add git26 check-python-minreqs:31 - make -C python check-minreqs[all …]
1 .. _submitting-a-pull-request:7 sent as simple patch emails to the mailing list (see our page on8 :ref:`submitting-a-patch`11 patch series we might ask a submitter to send a pull request. This page18 threaded as follow-ups to the pull request itself. The simplest way to19 do this is to use ``git format-patch --cover-letter`` to create the21 details that ``git request-pull`` outputs.24 retransmitted patch mails (for example, by using25 ``--subject-prefix=PULL`` in your ``git format-patch`` command). This29 **Each patch must have your own Signed-off-by: line** as well as that of[all …]
1 .. _submitting-a-patch:3 Submitting a Patch13 one-shot fix, the bare minimum we ask is that:15 .. list-table:: Minimal Checklist for Patches17 :header-rows: 119 * - Check20 - Reason21 * - 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 …]
7 # 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 tab119 # - empty lines[all …]
7 # the COPYING file in the top-level directory.28 class Patch(NamedTuple): class48 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 …]
5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>49 $P [OPTION]... [GIT-REV-LIST]54 -q, --quiet quiet55 --no-tree run without a qemu tree56 --no-signoff do not check for 'Signed-off-by' line57 --patch treat FILE as patchfile58 --branch treat args as GIT revision list59 --emacs emacs compile window format60 --terse one line per report61 -f, --file treat FILE as regular source file[all …]
6 # the files modified in a patch or for a file8 # 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 …]
5 configure, and test QEMU. It is not a fully-fledged SDK and it is subject9 -----19 ------------23 patch submission process28 <https://gitlab.com/jsnow/qemu/-/tree/python>`_, and there is an29 official `GitLab mirror <https://gitlab.com/qemu-project/qemu>`_.32 <https://gitlab.com/qemu-project/qemu/-/issues>`_ and tag ``@jsnow`` in43 ``make check`` can be used to run the available tests.
9 * 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 …]
25 #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 …]
22 * provides no hardware interface but allows QEMU to monkey patch memory26 * This device allows the user to monkey patch memory. To be able to do28 * memory-related devices. In this case as the backend is so trivial we38 #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 …]
4 * Copyright (c) 2003-2008 Fabrice Bellard23 #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 …]
2 * 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 …]
6 ------------12 ./configure --enable-sdl16 ./configure --enable-gtk21 qemu -accel kvm -usb $memory $disk $whatever \22 -display [ sdl | gtk ] \23 -vga std \24 -device usb-tablet27 standard ps/2 keyboard (implicitly there) and the usb-tablet. Now the30 -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 …]
4 https://gitlab.com/kraxel/edk2-build-config19 # pylint: disable=unused-variable21 """ 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 …]
4 * Copyright (c) 2003-2005 Fabrice Bellard21 #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 …]
7 everything from unit testing and exercising specific sub-systems all9 tests you can run ``make check-help`` from either the source or build16 [./pyvenv/bin/]meson test --suite qemu:softfloat37 Testing with "make check"38 -------------------------40 The "make check" testing family includes most of the C based tests in QEMU.46 make check49 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 …]
2 * S390 virtio-ccw network boot loading program6 * 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 …]
17 #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 …]
2 * 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 access40 * 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 …]
7 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 should10 consult qemu-devel and not any specific individual privately.23 W: Web-page with status/info24 Q: Patchwork web based patch tracking system site30 much other than throw the odd patch in. See below.49 patch or file. For instance:59 ------------------------------63 L: qemu-devel@nongnu.org72 R: Philippe Mathieu-Daudé <philmd@linaro.org>[all …]
33 #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 …]
10 * See the COPYING file in the top-level directory.17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts23 * 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 lists27 * make check V=231 * output. If not - disassemble them yourself in any way you like.32 * Look at the differences - make sure they make sense and match what the38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh41 * Expected binary updates needs to be a separate patch from the code that[all …]
... line-size icache-nlines icache-associativity ecache-line-size ecache-nlines ecache-associativity ncaches