]> xenbits.xensource.com Git - libvirt.git/commit
Add conversion of domxml USB config to/from xl.cfg
authorChunyan Liu <cyliu@suse.com>
Thu, 19 May 2016 08:14:35 +0000 (16:14 +0800)
committerJim Fehlig <jfehlig@suse.com>
Tue, 14 Jun 2016 20:33:15 +0000 (14:33 -0600)
commit44c99f2500c0ae1b914cbde188a7c195eff59cc5
tree07ef44f08604d5a0e132b97bd2776f272449a24d
parentfc21d1065b1684bca081fa2b141bd5ad69c7bb38
Add conversion of domxml USB config to/from xl.cfg

xl.cfg:
usbdev = [ "hostbus=1,hostaddr=3" ]

usb.xml:
  <hostdev mode='subsystem' type='usb' managed='no'>
    <source>
      <address bus='1' device='3'/>
    </source>
  </hostdev>

Signed-off-by: Chunyan Liu <cyliu@suse.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/xenconfig/xen_xl.c