qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

hw/misc: Add a config switch for the "unimplemented" device

The device is only used by some few boards. Let's use a proper Kconfig
switch so that we only compile this code if we really need it.

Message-Id: <20190817101931.28386-8-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

+17 -1
+11
hw/arm/Kconfig
··· 82 82 select PL011 83 83 select PL031 84 84 select SPLIT_IRQ 85 + select UNIMP 85 86 86 87 config MUSICPAL 87 88 bool ··· 217 218 select SSI_SD 218 219 select STELLARIS_INPUT 219 220 select STELLARIS_ENET # ethernet 221 + select UNIMP 220 222 221 223 config STRONGARM 222 224 bool ··· 283 285 select ALLWINNER_A10_PIC 284 286 select ALLWINNER_EMAC 285 287 select SERIAL 288 + select UNIMP 286 289 287 290 config RASPI 288 291 bool ··· 320 323 select PL011 321 324 select CADENCE 322 325 select VIRTIO_MMIO 326 + select UNIMP 323 327 324 328 config FSL_IMX25 325 329 bool ··· 355 359 select SSI_M25P80 356 360 select TMP105 357 361 select TMP421 362 + select UNIMP 358 363 359 364 config MPS2 360 365 bool ··· 366 371 select PL022 # Serial port 367 372 select PL080 # DMA controller 368 373 select SPLIT_IRQ 374 + select UNIMP 369 375 370 376 config FSL_IMX7 371 377 bool ··· 378 384 select IMX_I2C 379 385 select PCI_EXPRESS_DESIGNWARE 380 386 select SDHCI 387 + select UNIMP 381 388 382 389 config ARM_SMMUV3 383 390 bool ··· 389 396 select IMX_FEC 390 397 select IMX_I2C 391 398 select SDHCI 399 + select UNIMP 392 400 393 401 config MICROBIT 394 402 bool ··· 398 406 bool 399 407 select I2C 400 408 select ARM_V7M 409 + select UNIMP 401 410 402 411 config EMCRAFT_SF2 403 412 bool ··· 410 419 select PTIMER 411 420 select SERIAL 412 421 select SSI 422 + select UNIMP 413 423 414 424 config ZAURUS 415 425 bool ··· 448 458 select TZ_MPC 449 459 select TZ_MSC 450 460 select TZ_PPC 461 + select UNIMP 451 462 452 463 config ARMSSE_CPUID 453 464 bool
+1
hw/microblaze/Kconfig
··· 4 4 select XILINX 5 5 select XILINX_AXI 6 6 select XILINX_ETHLITE 7 + select UNIMP 7 8 8 9 config PETALOGIX_ML605 9 10 bool
+3
hw/misc/Kconfig
··· 117 117 bool 118 118 select I2C 119 119 120 + config UNIMP 121 + bool 122 + 120 123 source macio/Kconfig
+1 -1
hw/misc/Makefile.objs
··· 9 9 common-obj-$(CONFIG_EDU) += edu.o 10 10 common-obj-$(CONFIG_PCA9552) += pca9552.o 11 11 12 - common-obj-y += unimp.o 12 + common-obj-$(CONFIG_UNIMP) += unimp.o 13 13 common-obj-$(CONFIG_FW_CFG_DMA) += vmcoreinfo.o 14 14 15 15 # ARM devices
+1
hw/sparc64/Kconfig
··· 17 17 bool 18 18 select EMPTY_SLOT 19 19 select SUN4V_RTC 20 + select UNIMP