Re: [PATCH] smartcard: spell ccid-card-emulated qemu property correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/2013 04:10 AM, Daniel P. Berrange wrote:
> On Mon, Apr 01, 2013 at 04:57:00PM -0600, Eric Blake wrote:
>> Reported by Anthony Messina in
>> https://bugzilla.redhat.com/show_bug.cgi?id=904692
>> Present since introduction of smartcard support in commit f5fd9baa
>>

>>              }
>> -            virBufferAsprintf(&opt, ",database=%s", database);
>> +            virBufferAsprintf(&opt, ",db=%s", database);
>>              break;
>>
>>          case VIR_DOMAIN_SMARTCARD_TYPE_PASSTHROUGH:
> 
> ACK, 
> 
> Is a test case worthwhile ? It wouldn't have spotted this if the test
> case had had the same typo though

Indeed, I failed to run 'make check' before submitting this, and we did
have a test with the same typo.  I'm squashing this in, then pushing.

diff --git
i/tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
w/tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
index 8b4be3a..b7b14c7 100644
--- i/tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
+++ w/tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
@@ -4,5 +4,5 @@
socket,id=charmonitor,path=/tmp/test-monitor,server,nowait -mon \
 chardev=charmonitor,id=monitor,mode=readline -no-acpi -boot c -device \
 usb-ccid,id=ccid0 -usb -device \
 ccid-card-emulated,backend=certificates,cert1=cert1,cert2=cert2,cert3=cert3\
-,database=/etc/pki/nssdb,id=smartcard0,bus=ccid0.0 -device \
+,db=/etc/pki/nssdb,id=smartcard0,bus=ccid0.0 -device \
 virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]