qemu-patch-raspberry4/include
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
..
block block: Remove filename parameter from .bdrv_file_open() 2013-04-22 11:34:35 +02:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec elfload: use abi_llong/ullong instead of target_llong/ullong 2013-04-18 14:12:31 +02:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
hw Merge remote-tracking branch 'bonzini/scsi-next' into staging 2013-04-22 08:05:05 -05:00
migration savevm: Implement block_writev_buffer() 2013-04-15 08:26:18 +02:00
monitor qdev: DEVICE_DELETED event 2013-03-17 13:27:27 +02:00
net hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qapi qstring: add qstring_get_length() 2013-04-05 08:42:29 -04:00
qemu Merge remote-tracking branch 'bonzini/scsi-next' into staging 2013-04-22 08:05:05 -05:00
qom Fix typos and misspellings 2013-03-22 13:25:07 +01:00
sysemu Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
ui Fix warnings suppressors to honor --disable-werror 2013-04-17 10:28:04 -05:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h ccid-card-passthru, dev-smartcard-reader: add debug environment variables 2013-04-24 11:47:57 +03:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00