[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 707ff8: Add device listener interface
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 707ff8: Add device listener interface |
Date: |
Tue, 20 Jan 2015 07:30:06 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 707ff80021ccd7a68f4b3d2c44eebf87efbb41c4
https://github.com/qemu/qemu/commit/707ff80021ccd7a68f4b3d2c44eebf87efbb41c4
Author: Paul Durrant <address@hidden>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M hw/core/qdev.c
M include/hw/qdev-core.h
M include/qemu/typedefs.h
Log Message:
-----------
Add device listener interface
The Xen ioreq-server API, introduced in Xen 4.5, requires that PCI device
models explicitly register with Xen for config space accesses. This patch
adds a listener interface into qdev-core which can be used by the Xen
interface code to monitor for arrival and departure of PCI devices.
Signed-off-by: Paul Durrant <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Commit: 3996e85c1822e05c50250f8d2d1e57b6bea1229d
https://github.com/qemu/qemu/commit/3996e85c1822e05c50250f8d2d1e57b6bea1229d
Author: Paul Durrant <address@hidden>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M configure
M include/hw/xen/xen_common.h
M trace-events
M xen-hvm.c
Log Message:
-----------
Xen: Use the ioreq-server API when available
The ioreq-server API added to Xen 4.5 offers better security than
the existing Xen/QEMU interface because the shared pages that are
used to pass emulation request/results back and forth are removed
from the guest's memory space before any requests are serviced.
This prevents the guest from mapping these pages (they are in a
well known location) and attempting to attack QEMU by synthesizing
its own request structures. Hence, this patch modifies configure
to detect whether the API is available, and adds the necessary
code to use the API if it is.
Signed-off-by: Paul Durrant <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Acked-by: Stefano Stabellini <address@hidden>
Commit: 9b6d7b365dc211bbeadb0cf2e7bf1a019001c7f8
https://github.com/qemu/qemu/commit/9b6d7b365dc211bbeadb0cf2e7bf1a019001c7f8
Author: Paolo Bonzini <address@hidden>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M xen-mapcache.c
Log Message:
-----------
xen: do not use __-named variables in mapcache
Keep the namespace clean.
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Commit: 86a6a9bf551ffa183880480b37c5836d3916687a
https://github.com/qemu/qemu/commit/86a6a9bf551ffa183880480b37c5836d3916687a
Author: Paolo Bonzini <address@hidden>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M xen-mapcache.c
Log Message:
-----------
xen: add a lock for the mapcache
Extend the existing dummy mapcache_lock/unlock macros to cover all of
xen-mapcache.c. This prepares for unlocked memory access, when parts
of exec.c will not be protected by the BQL.
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Stefano Stabellini <address@hidden>
Commit: a5bd4470ed34b7cf49bda7ea3dcad3a269c99ada
https://github.com/qemu/qemu/commit/a5bd4470ed34b7cf49bda7ea3dcad3a269c99ada
Author: Peter Maydell <address@hidden>
Date: 2015-01-20 (Tue, 20 Jan 2015)
Changed paths:
M configure
M hw/core/qdev.c
M include/hw/qdev-core.h
M include/hw/xen/xen_common.h
M include/qemu/typedefs.h
M trace-events
M xen-hvm.c
M xen-mapcache.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/sstabellini/xen-2015-01-20-v2' into
staging
* remotes/sstabellini/xen-2015-01-20-v2:
xen: add a lock for the mapcache
xen: do not use __-named variables in mapcache
Xen: Use the ioreq-server API when available
Add device listener interface
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/74acb99737db...a5bd4470ed34
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 707ff8: Add device listener interface,
GitHub <=