Skip to contentSkip to conversation

multifunction pci virtio-blk devices

Qemu-devel Hui Kai Ran 2 participants 3 messages Dec 15, 2011 – Dec 16, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

It seems that qemu now have the ability to install pci device with mutlifunction=on, such as I got a cfg file to start qemu

[device "ehci"]
driver = "ich9-usb-ehci1"
addr = "0d.7"
multifunction = "on"

[device "ehci1"]
driver = "ich9-usb-ehci1"
addr = "0d.3"
multifunction = "on"

[device "ehci2"]
driver = "ich9-usb-ehci1"
addr = "0d.4"
multifunction = "on"

[device "ehci3"]
driver = "ich9-usb-ehci1"
addr = "0d.5"
multifunction = "on"

I end up with four usb controllers in one slot.

but for virtio blk device , how can i open multifunction ability?

Thanks.

#1 lore raw
Quoted 1 line · Hui Kai Ran

but for virtio blk device , how can i open multifunction ability?

Please search the mailing list archives, Anthony has posted instructions in previous threads.

Stefan

#2 lore raw
Quoted 7 lines · Stefan Hajnoczi
Quoted 1 line · Hui Kai Ran

but for virtio blk device , how can i open multifunction ability?

Please search the mailing list archives, Anthony has posted instructions in previous threads.

Stefan

I found it. thanks!