[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 1/9] log: Add new IOMMU type
From: |
Prem Mallappa |
Subject: |
[Qemu-devel] [PATCH v2 1/9] log: Add new IOMMU type |
Date: |
Mon, 22 Aug 2016 21:47:32 +0530 |
Signed-off-by: Prem Mallappa <address@hidden>
---
include/qemu/log.h | 1 +
util/log.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/include/qemu/log.h b/include/qemu/log.h
index 234fa81..3dd2131 100644
--- a/include/qemu/log.h
+++ b/include/qemu/log.h
@@ -42,6 +42,7 @@ static inline bool qemu_log_separate(void)
#define CPU_LOG_TB_NOCHAIN (1 << 13)
#define CPU_LOG_PAGE (1 << 14)
#define LOG_TRACE (1 << 15)
+#define CPU_LOG_IOMMU (1 << 16)
/* Returns true if a bit is set in the current loglevel mask
*/
diff --git a/util/log.c b/util/log.c
index 5ad72c1..62c4378 100644
--- a/util/log.c
+++ b/util/log.c
@@ -241,6 +241,8 @@ const QEMULogItem qemu_log_items[] = {
"show CPU registers before entering a TB (lots of logs)" },
{ CPU_LOG_MMU, "mmu",
"log MMU-related activities" },
+ { CPU_LOG_IOMMU, "iommu",
+ "log IOMMU-related activities" },
{ CPU_LOG_PCALL, "pcall",
"x86 only: show protected mode far calls/returns/exceptions" },
{ CPU_LOG_RESET, "cpu_reset",
--
2.9.3
- [Qemu-devel] [PATCH v2 0/9] SMMUv3 Emulation support, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 1/9] log: Add new IOMMU type,
Prem Mallappa <=
- [Qemu-devel] [PATCH v2 2/9] devicetree: Added new APIs to make use of more fdt functions, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 4/9] hw: arm: Added SMMUv3 files for build, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 6/9] [optional] hw: misc: added testdev for smmu, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 5/9] hw: arm: Add SMMUv3 to virt platform, create DTS accordingly, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 3/9] hw: arm: SMMUv3 emulation model, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 7/9] [optional] tests: libqos: generic pci probing helpers, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 9/9] [optional] arm: smmu-v3: ACPI IORT initial support, Prem Mallappa, 2016/08/22
- [Qemu-devel] [PATCH v2 8/9] [optional] tests: SMMUv3 unit tests, Prem Mallappa, 2016/08/22
- Re: [Qemu-devel] [PATCH v2 0/9] SMMUv3 Emulation support, Auger Eric, 2016/08/31