XEN - unbind/bind a PCI device
Tech Writer
TechWtr at handspun.com
Tue Sep 25 12:00:56 EDT 2007
Using Xen is very cool when it goes smoothly, and very frustrating when you
run into a glitch. There are a few "glitches" that I've run into (I've
tested it on both RHEL5 and SLES10.) The most annoying (from SLES) is that
when you point to a "kit" to install your VM from, it often gets confused
when trying to get to the next device (2nd CD.) The easiest workaround for
this is to just use a local DVD iso image file.
But... I can't figure out why this echo command just hangs... Ignoring the
fact that I'm doing this for Xen, does anyone have any ideas why an echo
command like this would lock? The idea is that the sound card is bound to
domain 0 (the physical machine's kernel) and to unbind it (so the virtual
machine can take it) you need to write the PCI slot number to the unbind
file. This example is all over the web, so it must work. I just can't
figure out why it hangs for me.
echo -n "0000:00:0b.0" > "/sys/bus/pci/drivers/ENS1371/unbind"
Peg
----- Original Message -----
From: "Thomas Charron" <twaffle at gmail.com>
To: "Tech Writer" <TechWtr at handspun.com>
Cc: <gnhlug-discuss at mail.gnhlug.org>
Sent: Tuesday, September 25, 2007 10:51 AM
Subject: Re: XEN - unbind/bind a PCI device
> On 9/25/07, Tech Writer <TechWtr at handspun.com> wrote:
>> I'm trying to test some examples in a Xen course. All has gone well so
>> far,
>> but my very last example is to unbind a PCI device (in this case, the
>> sound
>> card) from its driver, and bind it to the PCI backend so that it can be
>> used
>> by one of the virtual machines.
>
> QQ
>
> You just made me REALLY want to look at Xen again. :-D
>
> --
> -- Thomas
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
More information about the gnhlug-discuss
mailing list