qemu-e2k/hw
Alon Levy b16352acf3 ccid-card-passthru, dev-smartcard-reader: add debug environment variables
Introduces a new utility function: parse_debug_env to avoid code
duplication.

This overrides whatever debug value is set on the corresponding devices
from the command line, and is meant to ease the usage with any
management stack. For libvirt you can set environment variables by
extending the dom namespace, i.e:

<domain type='kvm' id='3' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <qemu:commandline>
    <qemu:env name='QEMU_CCID_PASSTHRU_DEBUG' value='4'/>
    <qemu:env name='QEMU_CCID_DEBUG' value='4'/>
  </qemu:commandline>
</domain>

Signed-off-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
2013-04-24 11:47:57 +03:00
..
9pfs virtio-9p: cleanup: QOM casts. 2013-04-23 10:37:49 -05:00
acpi
alpha include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
arm Merge branch 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm 2013-04-20 11:39:08 +00:00
audio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
block qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char virtio-console: Remove any pending watches on close 2013-04-16 11:52:09 +02:00
core qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
cpu hw: move ARM CPU cores to hw/cpu/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
cris hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
display qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
dma qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
gpio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
i2c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
i386 kvmvapic: Replace FROM_SYSBUS() with QOM type cast 2013-04-16 01:19:46 +02:00
ide Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-15 17:06:04 -05:00
input arm: fix location of some include files 2013-04-15 15:16:01 +02:00
intc ioapic: Replace FROM_SYSBUS() with QOM type cast 2013-04-16 01:19:46 +02:00
isa sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
lm32 qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
m68k
microblaze Remove unneeded type casts 2013-04-19 11:36:33 +02:00
mips sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
misc Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2013-04-19 08:38:16 -05:00
moxie
net qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
nvram hw: move NVRAM interfaces to hw/nvram/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
openrisc
pci hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
pci-bridge hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pci-host hw/versatile_pci: Drop unnecessary vpb_pci_config_addr() 2013-04-19 11:15:21 +01:00
ppc Remove unneeded type casts 2013-04-19 11:36:33 +02:00
s390x vhost-scsi-s390: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:19:13 +02:00
scsi vhost-scsi: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:18:11 +02:00
sd Typo, spelling and grammatical fixes 2013-04-12 14:33:20 +02:00
sh4 arm: fix location of some include files 2013-04-15 15:16:01 +02:00
sparc qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
sparc64 hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
ssi
timer arm: fix location of some include files 2013-04-15 15:16:01 +02:00
tpm Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
unicore32 console: add GraphicHwOps 2013-04-16 09:03:49 +02:00
usb ccid-card-passthru, dev-smartcard-reader: add debug environment variables 2013-04-24 11:47:57 +03:00
virtio virtio-9p-pci: switch to the new API. 2013-04-23 10:37:49 -05:00
watchdog
xen sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
xtensa sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00