Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3160499aacb81f6735941eb4c372d87a > files > 653

kvm-83-164.el5_5.30.src.rpm

From 706cadb75e68ed261b969f87a41209a3de4cf4d3 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Wed, 18 Feb 2009 16:28:03 -0300
Subject: [PATCH] vmchannel: use Red Hat's PCI vendor ID

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
RH-Upstream-status: not-applicable
Bugzilla: 487109
Acked-by: Dor Laor <dlaor@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qemu/hw/hypercall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/qemu/hw/hypercall.c b/qemu/hw/hypercall.c
index 5bec27a..73b9db9 100644
--- a/qemu/hw/hypercall.c
+++ b/qemu/hw/hypercall.c
@@ -304,8 +304,8 @@ static void pci_hypercall_single_init(PCIBus *bus, uint32_t deviceid, uint32_t i
 
 
     pci_conf = d->dev.config;
-    pci_conf[0x00] = 0x02; // Qumranet vendor ID 0x5002
-    pci_conf[0x01] = 0x50;
+    pci_conf[0x00] = 0xF4; // Red Hat vendor ID 0x1AF4
+    pci_conf[0x01] = 0x1A;
     pci_conf[0x02] = deviceid & 0x00ff;
     pci_conf[0x03] = (deviceid & 0xff00) >> 8;
 
-- 
1.6.1