<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>I want to use my smartcard to work on both my client and the Guest OS , following the manual on <span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"></span><a href="http://www.spice-space.org/page/SmartcardUsage" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">http://www.spice-space.org/page/SmartcardUsage</a><span style="font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"> </span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">the xml file of my GuestOS looks like this:</span></div><div><span style="background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div><div><span style="background-color: rgba(0, 0, 0, 0);"><smartcard mode='passthrough' type='spicevmc'>
<br>      <address type='ccid' controller='0' slot='0'/>
<br>    </smartcard></span></div><div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div><div><span style="background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">I got a smartcard reader in my GuestOS, but while running remote-viewer with the --spice-smartcard argument, I cannot find my smartcard in the GuestOS.</span></div><div>I followed the "<span style="color: rgb(32, 114, 66); font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: normal; background-color: window;">Debugging"</span></div><div><span style="font-family: Helvetica, Arial, sans-serif; line-height: normal;">certutil -L but get </span></div><div><span style="font-family: 'Helvetica, Arial, sans-serif'; background-color: rgba(0, 0, 0, 0);">certutil: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format.</span></div><div>Is it because my smartcard is neither aet nor coolkey?</div><div><br></div><div>while running remote-viewer with --debug and --spice-debug I can get the following about smartcard:</div><div>#cat remote-viewer-conn.log | grep smartcard</div><div>...</div><div><div>(remote-viewer:1619): GSpice-DEBUG: spice-channel.c:1735 smartcard-8:0: use mini header: 1</div><div>(remote-viewer:1619): GSpice-DEBUG: spice-channel.c:1103 smartcard-8:0: channel up, state 2</div><div>(remote-viewer:1619): GSpice-DEBUG: smartcard-manager.c:420 smartcard_manager_init</div><div>(remote-viewer:1619): GSpice-DEBUG: smartcard-manager.c:455 vcard_emul_init</div><div>(remote-viewer:1619): GSpice-DEBUG: smartcard-manager.c:468 smartcard_manager_init end: 1</div><div>(remote-viewer:1619): GSpice-DEBUG: smartcard-manager.c:526 smartcard_manager_finish</div></div><div>....</div><span style="background-color: rgba(0, 0, 0, 0);"></span>
<div><br></div><div>1.Anyone know where I make a mistake?</div><div>2.I cannot start my VM in host mode of smartcard because QEMU does not support host, why?</div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Blangero1987@gmail.com</div></div></span></div>
</body></html>