[PATCH] Allow apparmor parser to be executed in /usr/bin
by Andrea Bolognani
From: Tom <libvirt-patch(a)douile.com>
This commit modifies the AppArmor profile for virt-aa-helper to
accommodate an observed behavior in certain Linux distributions,
such as ArchLinux.
In these distributions, /usr/sbin symlinks to /usr/bin. To ensure
that virt-aa-helper can execute apparmor_parser when it resides
in /usr/bin, the profile has been updated accordingly.
Signed-off-by: Tom <libvirt-patch(a)douile.com>
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
---
https://gitlab.com/libvirt/libvirt/-/merge_requests/373
Pushed.
src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in b/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
index 26ee20a17d..44645c6989 100644
--- a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
+++ b/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
@@ -41,7 +41,7 @@ profile virt-aa-helper @libexecdir@/virt-aa-helper {
deny /dev/mapper/* r,
@libexecdir@/virt-aa-helper mr,
- /{usr/,}sbin/apparmor_parser Ux,
+ /{usr/,}{s,}bin/apparmor_parser Ux,
@sysconfdir(a)/apparmor.d/libvirt/* r,
@sysconfdir@/apparmor.d/libvirt/libvirt-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
--
2.46.0
2 months, 1 week
[PATCH] util/virutil: Use readpassphrase when libbsd is available
by Jakub Palacky
When libbsd is available, use the preferred readpassphrase() function isntead of getpass()
as the getpass() function has been marked as obsolete and shouldnt be used
Signed-off-by: Jakub Palacky <jpalacky(a)redhat.com>
---
meson.build | 6 ++++++
src/meson.build | 1 +
src/util/virutil.c | 6 ++++++
3 files changed, 13 insertions(+)
diff --git a/meson.build b/meson.build
index 297fbfae48..699a65c7e8 100644
--- a/meson.build
+++ b/meson.build
@@ -954,6 +954,11 @@ if blkid_dep.found()
conf.set('WITH_BLKID', 1)
endif
+bsd_dep = dependency('libbsd', required: false)
+if bsd_dep.found()
+ conf.set('WITH_LIBBSD', 1)
+endif
+
capng_dep = dependency('libcap-ng', required: get_option('capng'))
if capng_dep.found()
conf.set('WITH_CAPNG', 1)
@@ -2335,6 +2340,7 @@ libs_summary = {
'dlopen': dlopen_dep.found(),
'fuse': fuse_dep.found(),
'glusterfs': glusterfs_dep.found(),
+ 'libbsd': bsd_dep.found(),
'libiscsi': libiscsi_dep.found(),
'libkvm': libkvm_dep.found(),
'libnbd': libnbd_dep.found(),
diff --git a/src/meson.build b/src/meson.build
index 8cce42c7ad..30ae34646e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -9,6 +9,7 @@ src_dep = declare_dependency(
dependencies: [
glib_dep,
libxml_dep,
+ bsd_dep,
],
include_directories: [
libvirt_inc,
diff --git a/src/util/virutil.c b/src/util/virutil.c
index 6c89a48e51..2e07372198 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -31,6 +31,10 @@
# include <conio.h>
#endif /* WIN32 */
+#ifdef WITH_LIBBSD
+# include <bsd/readpassphrase.h>
+#endif
+
#ifdef __linux__
# include <sys/sysmacros.h>
#endif
@@ -1773,6 +1777,8 @@ char *virGetPassword(void)
}
return g_string_free(pw, FALSE);
+#elif WITH_LIBBSD /* !WIN32 */
+ return readpassphrase("", g_new0(char, 1024), 1024, 0);
#else /* !WIN32 */
return g_strdup(getpass(""));
#endif /* ! WIN32 */
--
2.46.0
2 months, 1 week
[PATCH v2 00/10] Maintainer updates (testing, gdbstub) pre-PR
by Alex Bennée
Hi,
Testing
I've updated a number of the docker containers to deal with breakages
in the crossdev environments as bullseye moves to LTS. I've dropped
the armel environment which doesn't really add much to the armhf cross
build we have that works. i686 and mipsel cross containers are bumped
up to bookworm. Currently mips64el is still broken.
gdbstub
This brings in Gustavo's patches to support MTE for system mode
expanding on the previously implemented user mode support.
plugins
I've dropped the TCG plugins from the series so as not to make the
pull request too large. I'll roll a new series once I've sent the PR
for this.
Changes
- moved mips64le TCG tests to use the debian-all-test-cross
- fixed some --disable-tcg failures for the MTE patches
The following still need review:
tests/docker: use debian-all-test-cross for mips64el tests
Alex Bennée (5):
tests/docker: remove debian-armel-cross
tests/docker: update debian i686 and mipsel images to bookworm
tests/docker: use debian-all-test-cross for mips64el tests
docs/devel: fix duplicate line
scripts/ci: update the gitlab-runner playbook
Gustavo Romero (5):
gdbstub: Use specific MMU index when probing MTE addresses
gdbstub: Add support for MTE in system mode
tests/guest-debug: Support passing arguments to the GDB test script
tests/tcg/aarch64: Improve linker script organization
tests/tcg/aarch64: Extend MTE gdbstub tests to system mode
docs/devel/testing/main.rst | 6 -
configure | 7 +-
target/arm/gdbstub64.c | 23 ++-
.gitlab-ci.d/container-cross.yml | 6 -
.gitlab-ci.d/crossbuilds.yml | 7 -
scripts/ci/setup/gitlab-runner.yml | 39 +++-
.../dockerfiles/debian-armel-cross.docker | 179 ------------------
.../dockerfiles/debian-i686-cross.docker | 10 +-
.../dockerfiles/debian-mipsel-cross.docker | 10 +-
tests/guest-debug/run-test.py | 6 +
tests/guest-debug/test_gdbstub.py | 5 +
tests/lcitool/refresh | 10 +-
tests/tcg/aarch64/Makefile.softmmu-target | 49 ++++-
tests/tcg/aarch64/Makefile.target | 3 +-
tests/tcg/aarch64/gdbstub/test-mte.py | 71 ++++---
tests/tcg/aarch64/system/boot.S | 11 ++
tests/tcg/aarch64/system/kernel.ld | 33 ++--
tests/tcg/aarch64/system/mte.S | 109 +++++++++++
18 files changed, 310 insertions(+), 274 deletions(-)
delete mode 100644 tests/docker/dockerfiles/debian-armel-cross.docker
create mode 100644 tests/tcg/aarch64/system/mte.S
--
2.39.2
2 months, 1 week
[PATCH] ch: Enable callbacks for ch domain events
by Praveen K Paladugu
From: Praveen K Paladugu <prapal(a)linux.microsoft.com>
Enable callbacks for define, undefine, started, booted, stopped,
destroyed events of ch guests.
Signed-off-by: Praveen K Paladugu <praveenkpaladugu(a)gmail.com>
---
src/ch/ch_conf.h | 4 +++
src/ch/ch_driver.c | 81 ++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 83 insertions(+), 2 deletions(-)
diff --git a/src/ch/ch_conf.h b/src/ch/ch_conf.h
index a77cad7a2a..97c6c24aa5 100644
--- a/src/ch/ch_conf.h
+++ b/src/ch/ch_conf.h
@@ -24,6 +24,7 @@
#include "virthread.h"
#include "ch_capabilities.h"
#include "virebtables.h"
+#include "object_event.h"
#define CH_DRIVER_NAME "CH"
#define CH_CMD "cloud-hypervisor"
@@ -75,6 +76,9 @@ struct _virCHDriver
* then lockless thereafter */
virCHDriverConfig *config;
+ /* Immutable pointer, self-locking APIs */
+ virObjectEventState *domainEventState;
+
/* pid file FD, ensures two copies of the driver can't use the same root */
int lockFD;
diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c
index dab025edc1..407479b8ab 100644
--- a/src/ch/ch_driver.c
+++ b/src/ch/ch_driver.c
@@ -28,6 +28,7 @@
#include "ch_monitor.h"
#include "ch_process.h"
#include "domain_cgroup.h"
+#include "domain_event.h"
#include "datatypes.h"
#include "driver.h"
#include "viraccessapicheck.h"
@@ -263,6 +264,7 @@ chDomainCreateWithFlags(virDomainPtr dom, unsigned int flags)
virCHDriver *driver = dom->conn->privateData;
virDomainObj *vm;
virCHDomainObjPrivate *priv;
+ virObjectEvent *event;
g_autofree char *managed_save_path = NULL;
int ret = -1;
@@ -304,6 +306,14 @@ chDomainCreateWithFlags(virDomainPtr dom, unsigned int flags)
ret = virCHProcessStart(driver, vm, VIR_DOMAIN_RUNNING_BOOTED);
}
+ if (ret == 0) {
+ event = virDomainEventLifecycleNewFromObj(vm,
+ VIR_DOMAIN_EVENT_STARTED,
+ VIR_DOMAIN_EVENT_STARTED_BOOTED);
+ if (event)
+ virObjectEventStateQueue(driver->domainEventState, event);
+ }
+
endjob:
virDomainObjEndJob(vm);
@@ -323,8 +333,10 @@ chDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flags)
{
virCHDriver *driver = conn->privateData;
g_autoptr(virDomainDef) vmdef = NULL;
+ g_autoptr(virDomainDef) oldDef = NULL;
virDomainObj *vm = NULL;
virDomainPtr dom = NULL;
+ virObjectEvent *event = NULL;
g_autofree char *managed_save_path = NULL;
unsigned int parse_flags = VIR_DOMAIN_DEF_PARSE_INACTIVE;
@@ -345,7 +357,7 @@ chDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flags)
if (!(vm = virDomainObjListAdd(driver->domains, &vmdef,
driver->xmlopt,
- 0, NULL)))
+ 0, &oldDef)))
goto cleanup;
/* cleanup if there's any stale managedsave dir */
@@ -358,11 +370,17 @@ chDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flags)
}
vm->persistent = 1;
-
+ event = virDomainEventLifecycleNewFromObj(vm,
+ VIR_DOMAIN_EVENT_DEFINED,
+ !oldDef ?
+ VIR_DOMAIN_EVENT_DEFINED_ADDED :
+ VIR_DOMAIN_EVENT_DEFINED_UPDATED);
dom = virGetDomain(conn, vm->def->name, vm->def->uuid, vm->def->id);
cleanup:
virDomainObjEndAPI(&vm);
+ virObjectEventStateQueue(driver->domainEventState, event);
+
return dom;
}
@@ -378,6 +396,7 @@ chDomainUndefineFlags(virDomainPtr dom,
{
virCHDriver *driver = dom->conn->privateData;
virDomainObj *vm;
+ virObjectEvent *event = NULL;
int ret = -1;
virCheckFlags(0, -1);
@@ -393,6 +412,9 @@ chDomainUndefineFlags(virDomainPtr dom,
"%s", _("Cannot undefine transient domain"));
goto cleanup;
}
+ event = virDomainEventLifecycleNewFromObj(vm,
+ VIR_DOMAIN_EVENT_UNDEFINED,
+ VIR_DOMAIN_EVENT_UNDEFINED_REMOVED);
vm->persistent = 0;
if (!virDomainObjIsActive(vm)) {
@@ -403,6 +425,8 @@ chDomainUndefineFlags(virDomainPtr dom,
cleanup:
virDomainObjEndAPI(&vm);
+ virObjectEventStateQueue(driver->domainEventState, event);
+
return ret;
}
@@ -643,6 +667,7 @@ chDomainDestroyFlags(virDomainPtr dom, unsigned int flags)
{
virCHDriver *driver = dom->conn->privateData;
virDomainObj *vm;
+ virObjectEvent *event = NULL;
int ret = -1;
virCheckFlags(0, -1);
@@ -662,6 +687,9 @@ chDomainDestroyFlags(virDomainPtr dom, unsigned int flags)
if (virCHProcessStop(driver, vm, VIR_DOMAIN_SHUTOFF_DESTROYED) < 0)
goto endjob;
+ event = virDomainEventLifecycleNewFromObj(vm,
+ VIR_DOMAIN_EVENT_STOPPED,
+ VIR_DOMAIN_EVENT_STOPPED_DESTROYED);
virCHDomainRemoveInactive(driver, vm);
ret = 0;
@@ -670,6 +698,8 @@ chDomainDestroyFlags(virDomainPtr dom, unsigned int flags)
cleanup:
virDomainObjEndAPI(&vm);
+ virObjectEventStateQueue(driver->domainEventState, event);
+
return ret;
}
@@ -1365,6 +1395,7 @@ static int chStateCleanup(void)
virObjectUnref(ch_driver->xmlopt);
virObjectUnref(ch_driver->caps);
virObjectUnref(ch_driver->domains);
+ virObjectUnref(ch_driver->domainEventState);
virMutexDestroy(&ch_driver->lock);
g_clear_pointer(&ch_driver, g_free);
@@ -1414,6 +1445,9 @@ chStateInitialize(bool privileged,
if (!(ch_driver->config = virCHDriverConfigNew(privileged)))
goto cleanup;
+ if (!(ch_driver->domainEventState = virObjectEventStateNew()))
+ goto cleanup;
+
if ((rv = chExtractVersion(ch_driver)) < 0) {
if (rv == -2)
ret = VIR_DRV_STATE_INIT_SKIPPED;
@@ -2205,6 +2239,47 @@ chDomainSetNumaParameters(virDomainPtr dom,
return ret;
}
+static int
+chConnectDomainEventRegisterAny(virConnectPtr conn,
+ virDomainPtr dom,
+ int eventID,
+ virConnectDomainEventGenericCallback callback,
+ void *opaque,
+ virFreeCallback freecb)
+{
+ virCHDriver *driver = conn->privateData;
+
+ if (virConnectDomainEventRegisterAnyEnsureACL(conn) < 0)
+ return -1;
+
+ if (virDomainEventStateRegisterID(conn,
+ driver->domainEventState,
+ dom, eventID,
+ callback, opaque, freecb, &ret) < 0)
+ return -1;
+
+ return 0;
+}
+
+
+static int
+chConnectDomainEventDeregisterAny(virConnectPtr conn,
+ int callbackID)
+{
+ virCHDriver *driver = conn->privateData;
+
+ if (virConnectDomainEventDeregisterAnyEnsureACL(conn) < 0)
+ return -1;
+
+ if (virObjectEventStateDeregisterID(conn,
+ driver->domainEventState,
+ callbackID, true) < 0)
+ return -1;
+
+ return 0;
+}
+
+
/* Function Tables */
static virHypervisorDriver chHypervisorDriver = {
.name = "CH",
@@ -2262,6 +2337,8 @@ static virHypervisorDriver chHypervisorDriver = {
.domainHasManagedSaveImage = chDomainHasManagedSaveImage, /* 10.2.0 */
.domainRestore = chDomainRestore, /* 10.2.0 */
.domainRestoreFlags = chDomainRestoreFlags, /* 10.2.0 */
+ .connectDomainEventRegisterAny = chConnectDomainEventRegisterAny, /* 10.8.0 */
+ .connectDomainEventDeregisterAny = chConnectDomainEventDeregisterAny, /* 10.8.0 */
};
static virConnectDriver chConnectDriver = {
--
2.44.0
2 months, 1 week
[PATCH 00/26] Maintainer updates (testing, gdbstub, plugins)
by Alex Bennée
Hi,
Here is the current state of my maintainer trees.
Testing
I've updated a number of the docker containers to deal with breakages
in the crossdev environments as bullseye moves to LTS. I've dropped
the armel environment which doesn't really add much to the armhf cross
build we have that works. i686 and mipsel cross containers are bumped
up to bookworm. Currently mips64el is still broken.
gdbstub
This brings in Gustavo's patches to support MTE for system mode
expanding on the previously implemented user mode support.
plugins
I start by deprecating some options that don't make much sense for
instrumentation including 32 bit and TCI support. They will still work
but there are caveats and it doesn't seem worth wasting CI time
keeping track of them.
There are a couple of new plugins including some useful analysis ones.
The bbv plugin can generate files that can be fed into simpoint. The
cflow plugin I've posted before separately but takes advantage of the
new conditional and store helpers to try and be more efficient tracing
control flow.
Finally there is not one but two memory APIs. Pierrick's updates to
the main memory instrumentation now makes values available to the
plugins and should be used if you absolutely want to track what value
was read or stored. I've added a softmmu test case building on
memory.c and I'll merge the updated linux-user test case once its been
re-spun.
Rowan's API provides a more direct access through the existing debug
API but comes with the caveats that it should only used on memory you
don't expect to be changing. The example provided allows for the
contents of syscalls to be probed at the syscall point.
Finally there is a RFC for a gdbstub hook which I mostly wrote while I
was debugging weirdness in the memory stuff. I'll probably drop it
before the PR and let it cook a bit more on plugins/next.
The following still need review:
plugins: add ability to register a GDB triggered callback
util/timer: avoid deadlock when shutting down
tests/tcg: add a system test to check memory instrumentation
tests/tcg: only read/write 64 bit words on 64 bit systems
tests/tcg: clean up output of memory system test
contrib/plugins: control flow plugin
deprecation: don't enable TCG plugins by default with TCI
deprecation: don't enable TCG plugins by default on 32 bit hosts
scripts/ci: update the gitlab-runner playbook
docs/devel: fix duplicate line
tests/docker: update debian i686 and mipsel images to bookworm
tests/docker: remove debian-armel-cross
Akihiko Odaki (1):
contrib/plugins: Add a plugin to generate basic block vectors
Alex Bennée (12):
tests/docker: remove debian-armel-cross
tests/docker: update debian i686 and mipsel images to bookworm
docs/devel: fix duplicate line
scripts/ci: update the gitlab-runner playbook
deprecation: don't enable TCG plugins by default on 32 bit hosts
deprecation: don't enable TCG plugins by default with TCI
contrib/plugins: control flow plugin
tests/tcg: clean up output of memory system test
tests/tcg: only read/write 64 bit words on 64 bit systems
tests/tcg: add a system test to check memory instrumentation
util/timer: avoid deadlock when shutting down
plugins: add ability to register a GDB triggered callback
Gustavo Romero (5):
gdbstub: Use specific MMU index when probing MTE addresses
gdbstub: Add support for MTE in system mode
tests/guest-debug: Support passing arguments to the GDB test script
tests/tcg/aarch64: Improve linker script organization
tests/tcg/aarch64: Extend MTE gdbstub tests to system mode
Pierrick Bouvier (5):
plugins: save value during memory accesses
plugins: extend API to get latest memory value accessed
tests/tcg: add mechanism to run specific tests with plugins
tests/tcg: allow to check output of plugins
tests/plugin/mem: add option to print memory accesses
Rowan Hart (2):
plugins: add plugin API to read guest memory
plugins: add option to dump write argument to syscall plugin
Thomas Huth (1):
contrib/plugins/Makefile: Add a 'distclean' target
docs/about/deprecated.rst | 19 +
docs/about/emulation.rst | 44 +-
docs/devel/testing/main.rst | 6 -
configure | 37 +-
accel/tcg/atomic_template.h | 66 ++-
include/hw/core/cpu.h | 4 +
include/qemu/plugin-event.h | 1 +
include/qemu/plugin.h | 4 +
include/qemu/qemu-plugin.h | 80 +++-
plugins/plugin.h | 9 +
contrib/plugins/bbv.c | 158 +++++++
contrib/plugins/cflow.c | 413 ++++++++++++++++++
plugins/api.c | 71 +++
plugins/core.c | 43 ++
target/arm/gdbstub64.c | 21 +-
tcg/tcg-op-ldst.c | 66 ++-
tests/tcg/multiarch/system/memory.c | 123 ++++--
tests/tcg/plugins/mem.c | 254 ++++++++++-
tests/tcg/plugins/syscall.c | 117 +++++
util/qemu-timer.c | 14 +-
accel/tcg/atomic_common.c.inc | 13 +-
accel/tcg/ldst_common.c.inc | 38 +-
.gitlab-ci.d/buildtest.yml | 2 +
.gitlab-ci.d/container-cross.yml | 6 -
.gitlab-ci.d/crossbuilds.yml | 7 -
contrib/plugins/Makefile | 4 +-
plugins/qemu-plugins.symbols | 3 +
scripts/ci/setup/gitlab-runner.yml | 39 +-
.../dockerfiles/debian-armel-cross.docker | 179 --------
.../dockerfiles/debian-i686-cross.docker | 10 +-
.../dockerfiles/debian-mipsel-cross.docker | 10 +-
tests/guest-debug/run-test.py | 6 +
tests/guest-debug/test_gdbstub.py | 5 +
tests/lcitool/refresh | 10 +-
tests/tcg/Makefile.target | 12 +-
tests/tcg/aarch64/Makefile.softmmu-target | 49 ++-
tests/tcg/aarch64/Makefile.target | 3 +-
tests/tcg/aarch64/gdbstub/test-mte.py | 71 ++-
tests/tcg/aarch64/system/boot.S | 11 +
tests/tcg/aarch64/system/kernel.ld | 33 +-
tests/tcg/aarch64/system/mte.S | 109 +++++
tests/tcg/alpha/Makefile.softmmu-target | 2 +-
.../multiarch/system/Makefile.softmmu-target | 6 +
.../system/validate-memory-counts.py | 115 +++++
44 files changed, 1935 insertions(+), 358 deletions(-)
create mode 100644 contrib/plugins/bbv.c
create mode 100644 contrib/plugins/cflow.c
delete mode 100644 tests/docker/dockerfiles/debian-armel-cross.docker
create mode 100644 tests/tcg/aarch64/system/mte.S
create mode 100755 tests/tcg/multiarch/system/validate-memory-counts.py
--
2.39.2
2 months, 1 week
[PATCH 0/9] Bug fixes
by Peter Krempa
Set of patches fixing the recently reported issues.
Peter Krempa (9):
virDomainDefParseBootInitOptions: Don't leak 'name' on failure
virBitmapShrink: Do not attempt to clear bits beyond end of buffer
virDomainFeaturesHyperVDefParse: Don't overwrite hypervisor vendor_id
virDomainFeaturesTCGDefParse: Don't leak 'tcg_features' when '<tcg>'
feature is repeated
virDomainFeaturesDefParse: Add comment warning about features being
specified repeatedly
internal: Add helper macro for checking multiply and add overflows
virconf: Properly fix numeric overflow when parsing numbers in conf
files
virDiskNameParse: Fix integer overflow in disk name parsing
qemuxmlconfttest: Add test case for invalid disk target
src/conf/domain_conf.c | 23 +++++++----
src/internal.h | 11 ++++++
src/util/virbitmap.c | 6 +++
src/util/virconf.c | 6 ++-
src/util/virutil.c | 10 ++++-
.../disk-target-overflow.x86_64-latest.err | 1 +
.../qemuxmlconfdata/disk-target-overflow.xml | 29 ++++++++++++++
tests/qemuxmlconftest.c | 1 +
tests/virbitmaptest.c | 39 ++++++++++++++++---
9 files changed, 109 insertions(+), 17 deletions(-)
create mode 100644 tests/qemuxmlconfdata/disk-target-overflow.x86_64-latest.err
create mode 100644 tests/qemuxmlconfdata/disk-target-overflow.xml
--
2.46.0
2 months, 1 week
[PATCH v2 00/15] target/cris: Remove the deprecated CRIS target
by Philippe Mathieu-Daudé
Since v1:
- Split in smaller patches (pm215)o
The CRIS target is deprecated since v9.0 (commit
c7bbef40234 "docs: mark CRIS support as deprecated").
Remove:
- Buildsys / CI infra
- User emulation
- System emulation (axis-dev88 machine and ETRAX devices)
- Tests
Philippe Mathieu-Daudé (15):
tests/tcg: Remove CRIS libc test files
tests/tcg: Remove CRIS bare test files
buildsys: Remove CRIS cross container
linux-user: Remove support for CRIS target
hw/cris: Remove the axis-dev88 machine
hw/cris: Remove image loader helper
hw/intc: Remove TYPE_ETRAX_FS_PIC device
hw/char: Remove TYPE_ETRAX_FS_SERIAL device
hw/net: Remove TYPE_ETRAX_FS_ETH device
hw/dma: Remove ETRAX_FS DMA device
hw/timer: Remove TYPE_ETRAX_FS_TIMER device
system: Remove support for CRIS target
target/cris: Remove the deprecated CRIS target
disas: Remove CRIS disassembler
seccomp: Remove check for CRIS host
MAINTAINERS | 17 -
docs/about/deprecated.rst | 8 -
docs/about/emulation.rst | 4 -
docs/about/removed-features.rst | 7 +
docs/user/main.rst | 4 -
configure | 4 -
configs/devices/cris-softmmu/default.mak | 4 -
configs/targets/cris-linux-user.mak | 1 -
configs/targets/cris-softmmu.mak | 1 -
meson.build | 1 -
qapi/machine.json | 2 +-
hw/cris/boot.h | 16 -
include/disas/dis-asm.h | 6 -
include/exec/poison.h | 2 -
include/hw/cris/etraxfs.h | 54 -
include/hw/cris/etraxfs_dma.h | 36 -
include/sysemu/arch_init.h | 1 -
include/user/abitypes.h | 7 -
linux-user/cris/sockbits.h | 1 -
linux-user/cris/syscall_nr.h | 367 --
linux-user/cris/target_cpu.h | 45 -
linux-user/cris/target_elf.h | 14 -
linux-user/cris/target_errno_defs.h | 7 -
linux-user/cris/target_fcntl.h | 11 -
linux-user/cris/target_mman.h | 13 -
linux-user/cris/target_prctl.h | 1 -
linux-user/cris/target_proc.h | 1 -
linux-user/cris/target_resource.h | 1 -
linux-user/cris/target_signal.h | 9 -
linux-user/cris/target_structs.h | 1 -
linux-user/cris/target_syscall.h | 46 -
linux-user/cris/termbits.h | 225 --
linux-user/syscall_defs.h | 7 +-
target/cris/cpu-param.h | 16 -
target/cris/cpu-qom.h | 32 -
target/cris/cpu.h | 286 --
target/cris/crisv10-decode.h | 112 -
target/cris/crisv32-decode.h | 133 -
target/cris/helper.h | 23 -
target/cris/mmu.h | 22 -
target/cris/opcode-cris.h | 355 --
tests/tcg/cris/libc/crisutils.h | 76 -
tests/tcg/cris/libc/sys.h | 18 -
disas/cris.c | 2863 ---------------
hw/char/etraxfs_ser.c | 267 --
hw/cris/axis_dev88.c | 351 --
hw/cris/boot.c | 102 -
hw/dma/etraxfs_dma.c | 781 ----
hw/intc/etraxfs_pic.c | 172 -
hw/net/etraxfs_eth.c | 688 ----
hw/timer/etraxfs_timer.c | 407 ---
linux-user/cris/cpu_loop.c | 95 -
linux-user/cris/signal.c | 194 -
linux-user/elfload.c | 15 -
linux-user/syscall.c | 10 +-
system/qemu-seccomp.c | 2 +-
target/cris/cpu.c | 323 --
target/cris/gdbstub.c | 127 -
target/cris/helper.c | 287 --
target/cris/machine.c | 93 -
target/cris/mmu.c | 356 --
target/cris/op_helper.c | 580 ---
target/cris/translate.c | 3252 -----------------
tests/qtest/machine-none-test.c | 1 -
tests/tcg/cris/bare/sys.c | 63 -
tests/tcg/cris/libc/check_abs.c | 40 -
tests/tcg/cris/libc/check_addc.c | 58 -
tests/tcg/cris/libc/check_addcm.c | 85 -
tests/tcg/cris/libc/check_addo.c | 125 -
tests/tcg/cris/libc/check_addoq.c | 44 -
tests/tcg/cris/libc/check_bound.c | 142 -
tests/tcg/cris/libc/check_ftag.c | 37 -
.../cris/libc/check_gcctorture_pr28634-1.c | 15 -
.../tcg/cris/libc/check_gcctorture_pr28634.c | 15 -
.../tcg/cris/libc/check_glibc_kernelversion.c | 116 -
tests/tcg/cris/libc/check_hello.c | 7 -
tests/tcg/cris/libc/check_int64.c | 47 -
tests/tcg/cris/libc/check_lz.c | 49 -
tests/tcg/cris/libc/check_mapbrk.c | 39 -
tests/tcg/cris/libc/check_mmap1.c | 48 -
tests/tcg/cris/libc/check_mmap2.c | 48 -
tests/tcg/cris/libc/check_mmap3.c | 33 -
tests/tcg/cris/libc/check_moveq.c | 51 -
tests/tcg/cris/libc/check_openpf1.c | 38 -
tests/tcg/cris/libc/check_openpf2.c | 16 -
tests/tcg/cris/libc/check_openpf3.c | 49 -
tests/tcg/cris/libc/check_openpf5.c | 56 -
tests/tcg/cris/libc/check_settls1.c | 45 -
tests/tcg/cris/libc/check_sigalrm.c | 26 -
tests/tcg/cris/libc/check_stat1.c | 16 -
tests/tcg/cris/libc/check_stat2.c | 20 -
tests/tcg/cris/libc/check_stat3.c | 25 -
tests/tcg/cris/libc/check_stat4.c | 27 -
tests/tcg/cris/libc/check_swap.c | 76 -
tests/tcg/cris/libc/check_time2.c | 18 -
fpu/softfloat-specialize.c.inc | 4 +-
target/cris/translate_v10.c.inc | 1262 -------
.gitlab-ci.d/buildtest.yml | 2 +-
.gitlab-ci.d/container-cross.yml | 5 -
.gitlab-ci.d/crossbuild-template.yml | 4 +-
disas/meson.build | 1 -
hw/Kconfig | 1 -
hw/char/meson.build | 1 -
hw/cris/Kconfig | 11 -
hw/cris/meson.build | 5 -
hw/dma/meson.build | 1 -
hw/intc/meson.build | 1 -
hw/meson.build | 1 -
hw/net/meson.build | 1 -
hw/net/trace-events | 5 -
hw/timer/meson.build | 1 -
scripts/coverity-scan/COMPONENTS.md | 3 -
scripts/probe-gdb-support.py | 1 -
target/Kconfig | 1 -
target/cris/Kconfig | 2 -
target/cris/meson.build | 17 -
target/meson.build | 1 -
tests/data/qobject/qdict.txt | 6 -
tests/docker/Makefile.include | 1 -
.../dockerfiles/fedora-cris-cross.docker | 14 -
tests/tcg/cris/.gdbinit | 11 -
tests/tcg/cris/Makefile.target | 62 -
tests/tcg/cris/README | 1 -
tests/tcg/cris/bare/check_addcv17.s | 65 -
tests/tcg/cris/bare/check_addi.s | 57 -
tests/tcg/cris/bare/check_addiv32.s | 62 -
tests/tcg/cris/bare/check_addm.s | 96 -
tests/tcg/cris/bare/check_addq.s | 47 -
tests/tcg/cris/bare/check_addr.s | 96 -
tests/tcg/cris/bare/check_addxc.s | 91 -
tests/tcg/cris/bare/check_addxm.s | 106 -
tests/tcg/cris/bare/check_addxr.s | 96 -
tests/tcg/cris/bare/check_andc.s | 80 -
tests/tcg/cris/bare/check_andm.s | 90 -
tests/tcg/cris/bare/check_andq.s | 46 -
tests/tcg/cris/bare/check_andr.s | 95 -
tests/tcg/cris/bare/check_asr.s | 230 --
tests/tcg/cris/bare/check_ba.s | 93 -
tests/tcg/cris/bare/check_bas.s | 102 -
tests/tcg/cris/bare/check_bcc.s | 197 -
tests/tcg/cris/bare/check_boundc.s | 101 -
tests/tcg/cris/bare/check_boundr.s | 125 -
tests/tcg/cris/bare/check_btst.s | 96 -
tests/tcg/cris/bare/check_clearfv32.s | 19 -
tests/tcg/cris/bare/check_clrjmp1.s | 36 -
tests/tcg/cris/bare/check_cmp-2.s | 15 -
tests/tcg/cris/bare/check_cmpc.s | 86 -
tests/tcg/cris/bare/check_cmpm.s | 96 -
tests/tcg/cris/bare/check_cmpq.s | 75 -
tests/tcg/cris/bare/check_cmpr.s | 102 -
tests/tcg/cris/bare/check_cmpxc.s | 92 -
tests/tcg/cris/bare/check_cmpxm.s | 106 -
tests/tcg/cris/bare/check_dstep.s | 42 -
tests/tcg/cris/bare/check_jsr.s | 85 -
tests/tcg/cris/bare/check_lapc.s | 78 -
tests/tcg/cris/bare/check_lsl.s | 217 --
tests/tcg/cris/bare/check_lsr.s | 218 --
tests/tcg/cris/bare/check_mcp.s | 49 -
tests/tcg/cris/bare/check_movdelsr1.s | 33 -
tests/tcg/cris/bare/check_movecr.s | 37 -
tests/tcg/cris/bare/check_movei.s | 50 -
tests/tcg/cris/bare/check_movemr.s | 78 -
tests/tcg/cris/bare/check_movemrv32.s | 96 -
tests/tcg/cris/bare/check_mover.s | 28 -
tests/tcg/cris/bare/check_moverm.s | 45 -
tests/tcg/cris/bare/check_movmp.s | 131 -
tests/tcg/cris/bare/check_movpmv32.s | 35 -
tests/tcg/cris/bare/check_movpr.s | 28 -
tests/tcg/cris/bare/check_movprv32.s | 21 -
tests/tcg/cris/bare/check_movscr.s | 29 -
tests/tcg/cris/bare/check_movsm.s | 44 -
tests/tcg/cris/bare/check_movsr.s | 46 -
tests/tcg/cris/bare/check_movucr.s | 33 -
tests/tcg/cris/bare/check_movum.s | 40 -
tests/tcg/cris/bare/check_movur.s | 45 -
tests/tcg/cris/bare/check_mulv32.s | 51 -
tests/tcg/cris/bare/check_mulx.s | 257 --
tests/tcg/cris/bare/check_neg.s | 104 -
tests/tcg/cris/bare/check_not.s | 31 -
tests/tcg/cris/bare/check_orc.s | 71 -
tests/tcg/cris/bare/check_orm.s | 75 -
tests/tcg/cris/bare/check_orq.s | 41 -
tests/tcg/cris/bare/check_orr.s | 84 -
tests/tcg/cris/bare/check_ret.s | 25 -
tests/tcg/cris/bare/check_scc.s | 95 -
tests/tcg/cris/bare/check_subc.s | 87 -
tests/tcg/cris/bare/check_subm.s | 96 -
tests/tcg/cris/bare/check_subq.s | 52 -
tests/tcg/cris/bare/check_subr.s | 102 -
tests/tcg/cris/bare/check_xarith.s | 72 -
tests/tcg/cris/bare/crt.s | 13 -
tests/tcg/cris/bare/testutils.inc | 117 -
192 files changed, 18 insertions(+), 21324 deletions(-)
delete mode 100644 configs/devices/cris-softmmu/default.mak
delete mode 100644 configs/targets/cris-linux-user.mak
delete mode 100644 configs/targets/cris-softmmu.mak
delete mode 100644 hw/cris/boot.h
delete mode 100644 include/hw/cris/etraxfs.h
delete mode 100644 include/hw/cris/etraxfs_dma.h
delete mode 100644 linux-user/cris/sockbits.h
delete mode 100644 linux-user/cris/syscall_nr.h
delete mode 100644 linux-user/cris/target_cpu.h
delete mode 100644 linux-user/cris/target_elf.h
delete mode 100644 linux-user/cris/target_errno_defs.h
delete mode 100644 linux-user/cris/target_fcntl.h
delete mode 100644 linux-user/cris/target_mman.h
delete mode 100644 linux-user/cris/target_prctl.h
delete mode 100644 linux-user/cris/target_proc.h
delete mode 100644 linux-user/cris/target_resource.h
delete mode 100644 linux-user/cris/target_signal.h
delete mode 100644 linux-user/cris/target_structs.h
delete mode 100644 linux-user/cris/target_syscall.h
delete mode 100644 linux-user/cris/termbits.h
delete mode 100644 target/cris/cpu-param.h
delete mode 100644 target/cris/cpu-qom.h
delete mode 100644 target/cris/cpu.h
delete mode 100644 target/cris/crisv10-decode.h
delete mode 100644 target/cris/crisv32-decode.h
delete mode 100644 target/cris/helper.h
delete mode 100644 target/cris/mmu.h
delete mode 100644 target/cris/opcode-cris.h
delete mode 100644 tests/tcg/cris/libc/crisutils.h
delete mode 100644 tests/tcg/cris/libc/sys.h
delete mode 100644 disas/cris.c
delete mode 100644 hw/char/etraxfs_ser.c
delete mode 100644 hw/cris/axis_dev88.c
delete mode 100644 hw/cris/boot.c
delete mode 100644 hw/dma/etraxfs_dma.c
delete mode 100644 hw/intc/etraxfs_pic.c
delete mode 100644 hw/net/etraxfs_eth.c
delete mode 100644 hw/timer/etraxfs_timer.c
delete mode 100644 linux-user/cris/cpu_loop.c
delete mode 100644 linux-user/cris/signal.c
delete mode 100644 target/cris/cpu.c
delete mode 100644 target/cris/gdbstub.c
delete mode 100644 target/cris/helper.c
delete mode 100644 target/cris/machine.c
delete mode 100644 target/cris/mmu.c
delete mode 100644 target/cris/op_helper.c
delete mode 100644 target/cris/translate.c
delete mode 100644 tests/tcg/cris/bare/sys.c
delete mode 100644 tests/tcg/cris/libc/check_abs.c
delete mode 100644 tests/tcg/cris/libc/check_addc.c
delete mode 100644 tests/tcg/cris/libc/check_addcm.c
delete mode 100644 tests/tcg/cris/libc/check_addo.c
delete mode 100644 tests/tcg/cris/libc/check_addoq.c
delete mode 100644 tests/tcg/cris/libc/check_bound.c
delete mode 100644 tests/tcg/cris/libc/check_ftag.c
delete mode 100644 tests/tcg/cris/libc/check_gcctorture_pr28634-1.c
delete mode 100644 tests/tcg/cris/libc/check_gcctorture_pr28634.c
delete mode 100644 tests/tcg/cris/libc/check_glibc_kernelversion.c
delete mode 100644 tests/tcg/cris/libc/check_hello.c
delete mode 100644 tests/tcg/cris/libc/check_int64.c
delete mode 100644 tests/tcg/cris/libc/check_lz.c
delete mode 100644 tests/tcg/cris/libc/check_mapbrk.c
delete mode 100644 tests/tcg/cris/libc/check_mmap1.c
delete mode 100644 tests/tcg/cris/libc/check_mmap2.c
delete mode 100644 tests/tcg/cris/libc/check_mmap3.c
delete mode 100644 tests/tcg/cris/libc/check_moveq.c
delete mode 100644 tests/tcg/cris/libc/check_openpf1.c
delete mode 100644 tests/tcg/cris/libc/check_openpf2.c
delete mode 100644 tests/tcg/cris/libc/check_openpf3.c
delete mode 100644 tests/tcg/cris/libc/check_openpf5.c
delete mode 100644 tests/tcg/cris/libc/check_settls1.c
delete mode 100644 tests/tcg/cris/libc/check_sigalrm.c
delete mode 100644 tests/tcg/cris/libc/check_stat1.c
delete mode 100644 tests/tcg/cris/libc/check_stat2.c
delete mode 100644 tests/tcg/cris/libc/check_stat3.c
delete mode 100644 tests/tcg/cris/libc/check_stat4.c
delete mode 100644 tests/tcg/cris/libc/check_swap.c
delete mode 100644 tests/tcg/cris/libc/check_time2.c
delete mode 100644 target/cris/translate_v10.c.inc
delete mode 100644 hw/cris/Kconfig
delete mode 100644 hw/cris/meson.build
delete mode 100644 target/cris/Kconfig
delete mode 100644 target/cris/meson.build
delete mode 100644 tests/docker/dockerfiles/fedora-cris-cross.docker
delete mode 100644 tests/tcg/cris/.gdbinit
delete mode 100644 tests/tcg/cris/Makefile.target
delete mode 100644 tests/tcg/cris/README
delete mode 100644 tests/tcg/cris/bare/check_addcv17.s
delete mode 100644 tests/tcg/cris/bare/check_addi.s
delete mode 100644 tests/tcg/cris/bare/check_addiv32.s
delete mode 100644 tests/tcg/cris/bare/check_addm.s
delete mode 100644 tests/tcg/cris/bare/check_addq.s
delete mode 100644 tests/tcg/cris/bare/check_addr.s
delete mode 100644 tests/tcg/cris/bare/check_addxc.s
delete mode 100644 tests/tcg/cris/bare/check_addxm.s
delete mode 100644 tests/tcg/cris/bare/check_addxr.s
delete mode 100644 tests/tcg/cris/bare/check_andc.s
delete mode 100644 tests/tcg/cris/bare/check_andm.s
delete mode 100644 tests/tcg/cris/bare/check_andq.s
delete mode 100644 tests/tcg/cris/bare/check_andr.s
delete mode 100644 tests/tcg/cris/bare/check_asr.s
delete mode 100644 tests/tcg/cris/bare/check_ba.s
delete mode 100644 tests/tcg/cris/bare/check_bas.s
delete mode 100644 tests/tcg/cris/bare/check_bcc.s
delete mode 100644 tests/tcg/cris/bare/check_boundc.s
delete mode 100644 tests/tcg/cris/bare/check_boundr.s
delete mode 100644 tests/tcg/cris/bare/check_btst.s
delete mode 100644 tests/tcg/cris/bare/check_clearfv32.s
delete mode 100644 tests/tcg/cris/bare/check_clrjmp1.s
delete mode 100644 tests/tcg/cris/bare/check_cmp-2.s
delete mode 100644 tests/tcg/cris/bare/check_cmpc.s
delete mode 100644 tests/tcg/cris/bare/check_cmpm.s
delete mode 100644 tests/tcg/cris/bare/check_cmpq.s
delete mode 100644 tests/tcg/cris/bare/check_cmpr.s
delete mode 100644 tests/tcg/cris/bare/check_cmpxc.s
delete mode 100644 tests/tcg/cris/bare/check_cmpxm.s
delete mode 100644 tests/tcg/cris/bare/check_dstep.s
delete mode 100644 tests/tcg/cris/bare/check_jsr.s
delete mode 100644 tests/tcg/cris/bare/check_lapc.s
delete mode 100644 tests/tcg/cris/bare/check_lsl.s
delete mode 100644 tests/tcg/cris/bare/check_lsr.s
delete mode 100644 tests/tcg/cris/bare/check_mcp.s
delete mode 100644 tests/tcg/cris/bare/check_movdelsr1.s
delete mode 100644 tests/tcg/cris/bare/check_movecr.s
delete mode 100644 tests/tcg/cris/bare/check_movei.s
delete mode 100644 tests/tcg/cris/bare/check_movemr.s
delete mode 100644 tests/tcg/cris/bare/check_movemrv32.s
delete mode 100644 tests/tcg/cris/bare/check_mover.s
delete mode 100644 tests/tcg/cris/bare/check_moverm.s
delete mode 100644 tests/tcg/cris/bare/check_movmp.s
delete mode 100644 tests/tcg/cris/bare/check_movpmv32.s
delete mode 100644 tests/tcg/cris/bare/check_movpr.s
delete mode 100644 tests/tcg/cris/bare/check_movprv32.s
delete mode 100644 tests/tcg/cris/bare/check_movscr.s
delete mode 100644 tests/tcg/cris/bare/check_movsm.s
delete mode 100644 tests/tcg/cris/bare/check_movsr.s
delete mode 100644 tests/tcg/cris/bare/check_movucr.s
delete mode 100644 tests/tcg/cris/bare/check_movum.s
delete mode 100644 tests/tcg/cris/bare/check_movur.s
delete mode 100644 tests/tcg/cris/bare/check_mulv32.s
delete mode 100644 tests/tcg/cris/bare/check_mulx.s
delete mode 100644 tests/tcg/cris/bare/check_neg.s
delete mode 100644 tests/tcg/cris/bare/check_not.s
delete mode 100644 tests/tcg/cris/bare/check_orc.s
delete mode 100644 tests/tcg/cris/bare/check_orm.s
delete mode 100644 tests/tcg/cris/bare/check_orq.s
delete mode 100644 tests/tcg/cris/bare/check_orr.s
delete mode 100644 tests/tcg/cris/bare/check_ret.s
delete mode 100644 tests/tcg/cris/bare/check_scc.s
delete mode 100644 tests/tcg/cris/bare/check_subc.s
delete mode 100644 tests/tcg/cris/bare/check_subm.s
delete mode 100644 tests/tcg/cris/bare/check_subq.s
delete mode 100644 tests/tcg/cris/bare/check_subr.s
delete mode 100644 tests/tcg/cris/bare/check_xarith.s
delete mode 100644 tests/tcg/cris/bare/crt.s
delete mode 100644 tests/tcg/cris/bare/testutils.inc
--
2.45.2
2 months, 1 week
[PATCH] cpu_map: Install SierraForest description file
by Michal Privoznik
In one of recent commits new CPU model was introduced. But
corresponding change in meson.build is missing which results in
the XML file not being installed.
Fixes: 3afbb1644c4f9d5237459bd544d0f511ff99eb80
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Pushed under trivial rule.
src/cpu_map/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/cpu_map/meson.build b/src/cpu_map/meson.build
index 89b1317558..20f5dbc47e 100644
--- a/src/cpu_map/meson.build
+++ b/src/cpu_map/meson.build
@@ -75,6 +75,7 @@ cpumap_data = [
'x86_SandyBridge-IBRS.xml',
'x86_SandyBridge.xml',
'x86_SapphireRapids.xml',
+ 'x86_SierraForest.xml',
'x86_Skylake-Client-IBRS.xml',
'x86_Skylake-Client-noTSX-IBRS.xml',
'x86_Skylake-Client.xml',
--
2.44.2
2 months, 1 week
About your libvirt.org.
by Delaney Mckey
Dear business owner of libvirt.org
<https://webtechmine-dot-yamm-track.appspot.com/2vNTx67VR9V0mSfNcQKdslf4GP...>
,
Hope you are doing well.
I was looking for Keywords and found your website on page 3-4 of Google. If
you were on page #1, you'd get so many prospects/new clients every day.
Most of your targeted keywords on page #3-5. You're so close! Do you mind
if I sent a *SEO Packages* and *Price list* of your site to see why you're
not on page #1?
I can send the *past work details* in a couple hours. If you have any
questions, feel free to ask me. I have more than 10 years of experience in
digital marketing.
Can I send it over?
Look forward to your reply.
*Kind Regards*
*Delaney Mckay*
*Business Development Manager*
-------------------------------------------------------------------------
*Note:* - Our next conversation will be on my corporate Email ID. If you
are interested, then reply to us *"Send your Proposal and Price list"*
Click *here*
<https://webtechmine-dot-yamm-track.appspot.com/2xfPA0xuTIdeZNZE4Mzjp62WCm...>
to
unsubscribe.
[image: beacon]
2 months, 2 weeks
[PATCH 0/2] Fix two recently reported bugs
by Peter Krempa
Peter Krempa (2):
conf: Don't overwrite KVM feature config struct if the feature is
present twicea
virconf: Fix numeric overflow when parsing numbers in conf files
src/conf/domain_conf.c | 15 ++++++++-------
src/util/virconf.c | 6 ++++++
2 files changed, 14 insertions(+), 7 deletions(-)
--
2.46.0
2 months, 2 weeks