Re: PCI-Passthrough with CloudStack (Improved)

2013-06-20 Thread Pawit Pornkitprasan
Hi Paul, I think that is more or less dependent on the hardware quirks. For my case I only had to add intel_iommu=on to the kernel cmdline to get PCI Passthrough working. An additional cmdline, pci=nocrs, was needed to get SR-IOV mode of the Mellanox ConnectX-2 card working. Best Regards, Pawit

RE: PCI-Passthrough with CloudStack (Improved)

2013-06-20 Thread Paul Angus
riginal Message- From: Pawit Pornkitprasan [mailto:p.pa...@gmail.com] Sent: 20 June 2013 05:38 To: dev@cloudstack.apache.org Cc: Ryousei Takano; Pawit Pornkitprasan Subject: Re: PCI-Passthrough with CloudStack (Improved) Hi, I've forgot to describe the detach-attach mechanism, so I'll d

Re: PCI-Passthrough with CloudStack (Improved)

2013-06-19 Thread Pawit Pornkitprasan
Hi, I've forgot to describe the detach-attach mechanism, so I'll describe it in this reply. PCI Device detach is done automatically by the agent when a MigrateCommand is processed. In KVM case, the server gets a list of attached PCI devices from libvirt's XML and detach very device. If detach is

PCI-Passthrough with CloudStack (Improved)

2013-06-19 Thread Pawit Pornkitprasan
Hi, Following my previous post about implementing PCI Passthrough on CloudStack (KVM), I have taken Edison Su’s and others’ comments into account and came up with an improved design. Because the devices available at each agent may be different, the available devices for passthrough are now config