]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
[passthrough] make upper field of 64 bit bar writable
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 28 Aug 2008 14:41:23 +0000 (15:41 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 26 Nov 2008 14:03:42 +0000 (14:03 +0000)
This patch makes upper field of 64 bit base address register writable.

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
(cherry picked from commit e13a9aa9ea1712d949771043bc2a51db64817244)

hw/pass-through.c

index 9a521c3917c858b8281fa629bdbf98e20ba84b02..77ab759a59cf0ccc8fbdd2085f5c0c430ad567e6 100644 (file)
@@ -2474,11 +2474,6 @@ static int pt_bar_reg_write(struct pt_dev *ptdev,
                 return -1;
         }
 
-        /* always keep the emulate register value to 0,
-         * because hvmloader does not support high MMIO for now.
-         */
-        cfg_entry->data = 0;
-
         /* never mapping the 'empty' upper region,
          * because we'll do it enough for the lower region.
          */