|
@@ -486,7 +486,7 @@ void kvm_init_cpu_signals(CPUState *cpu);
|
|
|
|
|
|
/**
|
|
/**
|
|
* kvm_irqchip_add_msi_route - Add MSI route for specific vector
|
|
* kvm_irqchip_add_msi_route - Add MSI route for specific vector
|
|
- * @s: KVM state
|
|
|
|
|
|
+ * @c: KVMRouteChange instance.
|
|
* @vector: which vector to add. This can be either MSI/MSIX
|
|
* @vector: which vector to add. This can be either MSI/MSIX
|
|
* vector. The function will automatically detect whether
|
|
* vector. The function will automatically detect whether
|
|
* MSI/MSIX is enabled, and fetch corresponding MSI
|
|
* MSI/MSIX is enabled, and fetch corresponding MSI
|
|
@@ -495,7 +495,7 @@ void kvm_init_cpu_signals(CPUState *cpu);
|
|
* as @NULL, an empty MSI message will be inited.
|
|
* as @NULL, an empty MSI message will be inited.
|
|
* @return: virq (>=0) when success, errno (<0) when failed.
|
|
* @return: virq (>=0) when success, errno (<0) when failed.
|
|
*/
|
|
*/
|
|
-int kvm_irqchip_add_msi_route(KVMState *s, int vector, PCIDevice *dev);
|
|
|
|
|
|
+int kvm_irqchip_add_msi_route(KVMRouteChange *c, int vector, PCIDevice *dev);
|
|
int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg,
|
|
int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg,
|
|
PCIDevice *dev);
|
|
PCIDevice *dev);
|
|
void kvm_irqchip_commit_routes(KVMState *s);
|
|
void kvm_irqchip_commit_routes(KVMState *s);
|