summaryrefslogtreecommitdiffstats
path: root/server/red_dispatcher.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-08 15:18:43 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-08 15:18:43 +0200
commit4f54596e0113c0692c10cfc1c25400c8070d67b3 (patch)
tree8e2405c0f7cfbf403744409f0cf74e3147515ae3 /server/red_dispatcher.c
parent10734c8d74bc26043c9714a80468040b8bfa7249 (diff)
downloadspice-4f54596e0113c0692c10cfc1c25400c8070d67b3.tar.gz
spice-4f54596e0113c0692c10cfc1c25400c8070d67b3.tar.xz
spice-4f54596e0113c0692c10cfc1c25400c8070d67b3.zip
server: Remove unnecessary pci id/rev checks
There is no need to check the pci ids or revisions. Thats a contract between qemu and the driver, and spice need not care, as long as we get the right data from qemu.
Diffstat (limited to 'server/red_dispatcher.c')
-rw-r--r--server/red_dispatcher.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
index 539c18e1..426a3811 100644
--- a/server/red_dispatcher.c
+++ b/server/red_dispatcher.c
@@ -489,13 +489,6 @@ RedDispatcher *red_dispatcher_init(QXLInstance *qxl)
sigset_t thread_sig_mask;
sigset_t curr_sig_mask;
- if (qxl->st->qif->pci_vendor != REDHAT_PCI_VENDOR_ID ||
- qxl->st->qif->pci_id != QXL_DEVICE_ID ||
- qxl->st->qif->pci_revision != QXL_REVISION) {
- red_printf("pci mismatch");
- return NULL;
- }
-
quic_init();
sw_canvas_init();
#ifdef USE_OGL