Re: adding smartcard support to libvirt

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

 



On 01/05/2011 04:59 PM, Eric Blake wrote:
> On 01/03/2011 11:50 AM, Eric Blake wrote:
>> <domain...>
>>   <devices>
>>     <smartcard mode='host-certificates'>
>>       <certificate id='1' path='cert1'/>
>>       <certificate id='2' path='cert2'/>
>>       <certificate id='3' path='cert3'/>
>>     </smartcard>
>>  </devices>
>> </domain>
> 
> Slight tweak - filenames can be arbitrary, so they have to be nested
> text rather than attributes.  Also, we know there are exactly three, and
> can use them in listed order, without having to require an extra id
> attribute.  And absolute paths may make more sense (since a libvirt user
> can't be sure what a relative path is relative to).  Leading to:

>       <certificate>path='/path/to/cert1'</certificate>

Hit send too soon; I meant to strip the path=' and ' portions.

<domain...>
  <devices>
    <smartcard mode='host-certificates'>
      <certificate>/path/to/cert1</certificate>
      <certificate>/path/to/cert2</certificate>
      <certificate>/path/to/cert3</certificate>
    </smartcard>
  </devices>
</domain>

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
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]