From af3cd62c4b419bdf856441241fde4c61afbe8fcc Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Fri, 9 Mar 2018 13:00:22 -0500 Subject: [PATCH] Introduce DEVICE_CATEGORY_CPU for CPU devices Now that CPUs show up in the help text of "-device ?", we should group them into an appropriate category. Backports commit ba31cc7226ebcee639f18faa90c1542bd364fba3 from qemu --- qemu/include/hw/qdev-core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/include/hw/qdev-core.h b/qemu/include/hw/qdev-core.h index 3e6a11f1..127a8320 100644 --- a/qemu/include/hw/qdev-core.h +++ b/qemu/include/hw/qdev-core.h @@ -25,6 +25,7 @@ typedef enum DeviceCategory { DEVICE_CATEGORY_DISPLAY, DEVICE_CATEGORY_SOUND, DEVICE_CATEGORY_MISC, + DEVICE_CATEGORY_CPU, DEVICE_CATEGORY_MAX } DeviceCategory;