mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Add support for physical memory access for QEmu
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in: adds the new flag VIR_MEMORY_PHYSICAL for virDomainMemoryPeek * src/libvirt.c: update the front-end checking * src/qemu_driver.c: extend the QEmu driver
This commit is contained in:
committed by
Daniel Veillard
parent
6ec87af68e
commit
e4c48e02b4
@@ -619,6 +619,7 @@ int virDomainBlockPeek (virDomainPtr dom,
|
||||
/* Memory peeking flags. */
|
||||
typedef enum {
|
||||
VIR_MEMORY_VIRTUAL = 1, /* addresses are virtual addresses */
|
||||
VIR_MEMORY_PHYSICAL = 2, /* addresses are physical addresses */
|
||||
} virDomainMemoryFlags;
|
||||
|
||||
int virDomainMemoryPeek (virDomainPtr dom,
|
||||
|
||||
@@ -619,6 +619,7 @@ int virDomainBlockPeek (virDomainPtr dom,
|
||||
/* Memory peeking flags. */
|
||||
typedef enum {
|
||||
VIR_MEMORY_VIRTUAL = 1, /* addresses are virtual addresses */
|
||||
VIR_MEMORY_PHYSICAL = 2, /* addresses are physical addresses */
|
||||
} virDomainMemoryFlags;
|
||||
|
||||
int virDomainMemoryPeek (virDomainPtr dom,
|
||||
|
||||
Reference in New Issue
Block a user