Michael S. Tsirkin 1466cef32d pc: fix regression for 64 bit PCI memory
commit 398489018183d613306ab022653552247d93919f
    pc: limit 64 bit hole to 2G by default
introduced a way for management to control
the window allocated to the 64 bit PCI hole.

This is useful, but existing management tools do not know how to set
this property.  As a result, e.g. specifying a large ivshmem device with
size > 4G is broken by default.  For example this configuration no
longer works:

-device ivshmem,size=4294967296,chardev=cfoo
-chardev socket,path=/tmp/sock,id=cfoo,server,nowait

Fix this by detecting that hole size was not specified
and defaulting to the backwards-compatible value of 1 << 62.

Cc: qemu-stable@nongnu.org
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-27 10:13:41 +03:00
..
2013-04-24 11:50:18 -05:00
2013-06-07 14:55:33 +02:00
2013-04-29 08:27:47 -05:00
2013-07-29 21:06:28 +02:00
2013-05-01 13:06:07 +02:00
2013-07-25 08:12:27 -05:00
2013-07-29 21:06:27 +02:00
2013-06-03 15:41:27 +00:00
2013-05-01 13:06:07 +02:00
2013-06-27 15:38:35 -05:00
2013-08-21 00:18:39 +03:00
2013-05-01 20:55:21 +04:00
2013-06-24 08:41:07 +02:00
2013-04-16 10:04:23 +02:00