I am trying to use the very old PCI Fritz ISDN card which is part of my computer to configure my ISDN telephone box. The software needed for this does not work under 64 bit system, and although the ISDN card is being recognized correctly, I can not use it. So I want to use it from a virtualized system. I emerged QEMU and set up an openSUSE 10.3. Now I have to assign the ISDN card to the virtual suse. I found those instructions . First I have to unbind the PCI card from the host kernel driver:
Code: Select all
lspci
.
05:01.0 Network controller: AVM GmbH Fritz!Card PCI v2.0 ISDN (rev 02)
.Code: Select all
modprobe pci_stub
lspci -nCode: Select all
.
05:01.0 0280: 1244:0e00 (rev 02)
.Code: Select all
echo "1244 0e00" > /sys/bus/pci/drivers/pci-stub/new_id
echo "0000:05:01.0" > /sys/bus/pci/devices/0000:05:01.0/driver/unbind
echo "0000:05:01.0" > /sys/bus/pci/drivers/pci-stub/bindCode: Select all
modprobe kvm
modprobe kvm-intelCode: Select all
/usr/bin/qemu-system-x86_64 -soundhw ac97 -machine accel=kvm -m 2048 -cdrom "/dev/sr0" -hda "openSUSE_10.3" -boot once=d,menu=off -net none -rtc base=localtime -device pci-assign,host=05:01.0 -name "Linux 2.6" $*Code: Select all
qemu-system-x86_64: pci-assign,host=05:01.0: drive with bus=0, unit=0 (index=0) existsCode: Select all
/usr/bin/qemu-system-x86_64 -soundhw ac97 -machine accel=kvm -m 2048 -cdrom "/dev/sr0" -hda "openSUSE_10.3" -boot once=d,menu=off -net none -rtc base=localtime -device fritzcard pci-assign,host=05:01.0 -name "Linux 2.6" $*Code: Select all
qemu-system-x86_64: pci-assign,host=05:01.0: drive with bus=0, unit=0 (index=0) exists

