]> xenbits.xensource.com Git - qemu-xen-4.0-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>
Thu, 28 Aug 2008 14:41:23 +0000 (15:41 +0100)
This patch makes upper field of 64 bit base address register writable.

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
hw/pass-through.c

index 51d0a129613eb1759292eee88573948a618a09af..6b08441c185cf11aa2677d59f82060480f2e93d5 100644 (file)
@@ -2338,11 +2338,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.
          */