ioemu, passthru: make upper field of 64 bit bar writable.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Aug 2008 08:58:01 +0000 (09:58 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 28 Aug 2008 08:58:01 +0000 (09:58 +0100)
Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
tools/ioemu/hw/pass-through.c

index 1c00b624b99e90bb90054f65cb690c4ae6963a13..0815fda5ab4aea9e665a18c47f643bcc3f0504b3 100644 (file)
@@ -2340,11 +2340,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.
          */