On Tue, Feb 01, 2011 at 09:48:53AM -0700, Eric Blake wrote: > * src/conf/domain_conf.h (virDomainSmartcardType): New enum. > (virDomainSmartcardDef, virDomainDeviceCcidAddress): New structs. > (virDomainDef): Include smartcards. > (virDomainSmartcardDefIterator): New typedef. > (virDomainSmartcardDefFree, virDomainSmartcardDefForeach): New > prototypes. > (virDomainControllerType, virDomainDeviceAddressType): Add ccid > enum values. > (virDomainDeviceInfo): Add ccid address type. > * src/conf/domain_conf.c (virDomainSmartcard): Convert between > enum and string. > (virDomainSmartcardDefParseXML, virDomainSmartcardDefFormat) > (virDomainSmartcardDefFree, virDomainDeviceCcidAddressParseXML) > (virDomainDefMaybeAddSmartcardController): New functions. > (virDomainDefParseXML): Parse the new XML. > (virDomainDefFormat): Convert back to XML. > (virDomainDefFree): Clean up. > (virDomainDeviceInfoIterate): Iterate over passthrough aliases. > (virDomainController, virDomainDeviceAddress) > (virDomainDeviceInfoParseXML, virDomainDeviceInfoFormat) > (virDomainDefAddImplicitControllers): Support new values. > * src/libvirt_private.syms (domain_conf.h): New exports. > * cfg.mk (useless_free_options): List new function. > > --- > Notes: > v2: first version of patch (v1 was xml proposal only) > v3: add controller type='ccid' support, extra smartcard element support > v4: remove host/dev, relax host-certificates/cert to be any string, define > default host-certificates/database value > cfg.mk | 1 + > src/conf/domain_conf.c | 366 ++++++++++++++++++++++++++++++++++++++++++++-- > src/conf/domain_conf.h | 52 +++++++- > src/libvirt_private.syms | 4 + > 4 files changed, 411 insertions(+), 12 deletions(-) ACK Daniel -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list