[libvirt] PCI Passthrough

Aaron Clausen mightymartianca at gmail.com
Wed May 6 18:29:27 UTC 2009

I'm having a heck of a time trying to figure out how to do PCI
passthrough for a PCI SCSI controller.  I need, if at all possible, to
access it so that I can use a SCSI tape drive with a Windows Server
2000 guest.  This is xml config I have:

<domain type='kvm'>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  <clock offset='localtime'/>
    <disk type='file' device='disk'>
      <source file='/var/lib/libvirt/images/testserver.img'/>
      <target dev='hda' bus='ide'/>
    <disk type='block' device='cdrom'>
      <source dev='/dev/cdrom'/>
      <target dev='hdc' bus='ide'/>
    <interface type='bridge'>
      <mac address='54:52:00:50:03:08'/>
      <source bridge='br0'/>
      <target dev='vnet2'/>
    <serial type='pty'>
      <source path='/dev/pts/7'/>
      <target port='0'/>
    <console type='pty' tty='/dev/pts/7'>
      <source path='/dev/pts/7'/>
      <target port='0'/>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>

Aaron Clausen
mightymartianca at gmail.com

More information about the libvir-list mailing list