This patch adds support for getting and using a local copy of the dirty
bitmap.
memory_region_snapshot_and_clear_dirty() will create a snapshot of the
dirty bitmap for the specified range, clear the dirty bitmap and return
the copy. The returned bitmap can be a bit larger than requested, the
Signed-off-by: Gerd Hoffmann
---
hw/display/g364fb.c | 28 +---
1 file changed, 5 insertions(+), 23 deletions(-)
diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c
index 8cdc205dd9..86557d14a9 100644
--- a/hw/display/g364fb.c
+++
img_convert has been around before there was an ImgConvertState or
a block backend, but it has never been modified to directly use
these structs. Change this by parsing parameters directly into
the ImgConvertState and directly use BlockBackend where possible.
Furthermore variable initialization
On 31 January 2017 at 16:14, Peter Maydell wrote:
> We already require gcc 4.1 or newer (for the atomic
> support), so the fallback codepaths for older gcc
> versions than that are now dead code and we can
> just delete them.
>
> NB: clang reports itself as gcc 4.2
Am 20.04.2017 um 21:51 schrieb Kevin Wolf:
> Am 20.04.2017 um 16:08 hat Peter Lieven geschrieben:
>> Am 20.04.2017 um 16:05 schrieb Fam Zheng:
>>> On Tue, 02/28 14:35, Peter Lieven wrote:
img_convert has been around before there was an ImgConvertState or
a block backend, but it has never
On Fri, 04/21 09:31, Daniel P. Berrange wrote:
> On Fri, Apr 21, 2017 at 07:43:36AM +0200, Markus Armbruster wrote:
> > Kevin Wolf writes:
> >
> > > Am 20.04.2017 um 17:30 hat Daniel P. Berrange geschrieben:
> > >> On Thu, Apr 20, 2017 at 12:00:03PM +0800, Fam Zheng wrote:
> >
Rather than calling memory_region_set_dirty() directly, make sure that we call
tcx_set_dirty() instead. This ensures that the 24-bit plane and cplane are
also invalidated correctly.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
On Fri, 04/21 10:35, Kevin Wolf wrote:
> Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben:
> > Signed-off-by: Fam Zheng
>
> Reviewed-by: Kevin Wolf
>
> As far as I am concerned, this could be squashed into patch 1, though.
> Adding a new field to the schema
Now that page alignment is handled by the memory API, there is no need to
duplicate the code 4 times (4 * 1024 == 4096 == TARGET_PAGE_SIZE).
Finally we have now removed all traces of TARGET_PAGE_SIZE.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
On Fri, Apr 21, 2017 at 07:43:36AM +0200, Markus Armbruster wrote:
> Kevin Wolf writes:
>
> > Am 20.04.2017 um 17:30 hat Daniel P. Berrange geschrieben:
> >> On Thu, Apr 20, 2017 at 12:00:03PM +0800, Fam Zheng wrote:
> >> > Signed-off-by: Fam Zheng
> >> > ---
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng
> ---
> block.c | 31 +++
> 1 file changed, 23 insertions(+), 8 deletions(-)
>
> diff --git a/block.c b/block.c
> index f5c4e97..6acf618 100644
> --- a/block.c
> +++
This can now be used by both the 8-bit and 24-bit display code, so rename
to tcx_check_dirty().
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c | 25 ++---
1 file changed, 14 insertions(+),
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng
Reviewed-by: Kevin Wolf
As far as I am concerned, this could be squashed into patch 1, though.
Adding a new field to the schema is an integral part of adding a new
option, I think.
As all surfaces in QEMU are now either shared or 32-bit ARGB regardless of
the guest depth, remove all non-32-bit primitives from tcx_update_display()
and consequence their implementation which are no longer required.
Signed-off-by: Mark Cave-Ayland
Reviewed-by:
Previous to the existence of load_image_mr(), the only way to load in the
FCode ROM image was to pass in its physical address via qdev properties
and use load_image_targphys().
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
Am 21.04.2017 um 05:55 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng
Reviewed-by: Kevin Wolf
Previous to the existence of load_image_mr(), the only way to load in the
FCode ROM image was to pass in its physical address via qdev properties
and use load_image_targphys().
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
The code was incorrectly calculating the end address rather than the size of
the required region.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/cg3.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index 8e26aae..d24466f 100644
---
This started as part of the work on Gerd's thread-safe display patches
but ended up turning into something a lot more comprehensive. It contains
lots of cleanup and fixes for display invalidation (particularly on 24-bit
TCX) exposed by testing the thread-safe patchset.
Signed-off-by: Mark
Since all of the tcx_*_dirty() functions now calculate the 24-bit and
cplane offsets themselves from the base address, these variables are no
longer needed.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c |7
Now that page alignment is handled by the memory API, there is no need to
duplicate the code 4 times (4 * 1024 == 4096 == TARGET_PAGE_SIZE).
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c | 36
This was an artifact from very early versions of the code from before the
memory API and is no longer needed.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/cg3.c |6 ++
1 file changed, 2 insertions(+), 4
This can now be used by both the 8-bit and 24-bit display code, so rename
to tcx_check_dirty().
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c | 31 +++
1 file changed, 11
> -Original Message-
[snip]
> >
> > I think xencall should be part of the base xen_stable_libs anyway.
>
> Yes, you are right. However I noticed that -lxencall needs to come after
> -lxendevicemodel. So, I'll have to move -lxendevicemodel before
> $xen_stable_libs, see below. I'll merge
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Gerd Hoffmann
---
hw/display/tcx.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index d24466f..6817bd2 100644
--- a/hw/display/tcx.c
+++
On 04/21/2017 12:10 PM, Jason Wang wrote:
On 2017年04月21日 11:48, Zhang Chen wrote:
On 04/20/2017 02:43 PM, Jason Wang wrote:
On 2017年04月18日 10:20, Zhang Chen wrote:
In this patch we support packet that have tcp options field.
Add tcp options field check, If the packet have options
On Fri, 04/21 10:01, Kevin Wolf wrote:
> It is unused.
>
> Suggestetd-by: Fam Zheng
> Signed-off-by: Kevin Wolf
> ---
> tests/qemu-iotests/common.config | 18 --
> 1 file changed, 18 deletions(-)
>
> diff --git
On Sat, 04/01 20:14, Ashijeet Acharya wrote:
> Include a next pointer in VmdkMetaData struct to point to the previous
> allocated L2 table. Modify vmdk_L2update to start updating metadata for
> allocation of multiple clusters at once.
>
> Signed-off-by: Ashijeet Acharya
On 2017/4/20 13:15, Jason Wang wrote:
On 2017年04月18日 14:58, Hailiang Zhang wrote:
On 2017/4/18 11:55, Jason Wang wrote:
On 2017年04月17日 19:04, Hailiang Zhang wrote:
Hi Jason,
On 2017/4/14 14:38, Jason Wang wrote:
On 2017年04月14日 14:22, Hailiang Zhang wrote:
Hi Jason,
On 2017/4/14 13:57,
Yes, v2.8.0+tpm branch worked. Thanks Stefan.
Anshul
From: Stefan Berger [mailto:stef...@us.ibm.com]
Sent: 18 April 2017 19:47
To: Anshul Makkar
Cc: qemu-devel@nongnu.org
Subject: Re: CUSE-TPM : Win 10 reports TPM device doesn't have sufficient
resources
You may want
It is unused.
Suggestetd-by: Fam Zheng
Signed-off-by: Kevin Wolf
---
tests/qemu-iotests/common.config | 18 --
1 file changed, 18 deletions(-)
diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config
index
From: Eric Blake
An upcoming Coccinelle cleanup script wanted to reformat the casts
present in this file - but on closer look, we don't need the casts
at all because C automatically converts void* to any other pointer.
Signed-off-by: Eric Blake
Message-Id:
From: Dong Jia Shi
'devno' should rather be a property of the ccw device, instead of a
property of a specific virtio-ccw device. Let's consolidate it.
While we are at here, also rename CcwDevice.bus_id to CcwDevice.devno to
make things clearer.
Signed-off-by: Dong
From: Dong Jia Shi
Expose the busids of the virtual I/O subchannel and the virtual CCW
device to ease debugging. This is needed because:
1. subchannel id are assigned dynamically, and cannot be set from
outside.
2. device busid could possibly be auto generated.
From: Fei Li
The I/O adapters should exist as soon as the bus/infrastructure
exists, and not only when the guest is actually trying to do something
with them. While the lazy allocation was not wrong, allocating at init
time is cleaner, both for the architecture and
From: Dong Jia Shi
Let's introduce a read-only property type that handles device ids of the
CssDevId type used for channel devices for future use. e.g. exposing the
busid of an I/O subchannel that is assigned to a ccw device.
Signed-off-by: Dong Jia Shi
From: Fei Li
Let's use an enum for io adapter type, and standardize its naming to
CSS_IO_ADAPTER_* by changing S390_PCIPT_ADAPTER to CSS_IO_ADAPTER_PCI.
Signed-off-by: Fei Li
Reviewed-by: Cornelia Huck
From: Fei Li
Let's have a flic before we move on to initialize more specific
subsystems that make use of it.
Signed-off-by: Fei Li
Reviewed-by: Cornelia Huck
Signed-off-by: Cornelia Huck
From: Danil Antonov
Wrapped printf calls inside debug macros (DPRINTF) in `if` statement.
This will ensure that printf function will always compile even if debug
output is turned off and, in turn, will prevent bitrot of the format
strings.
Signed-off-by: Danil Antonov
From: Fei Li
s390_get_flic() is called many times to obtain the flic. This wastes a
lot of time as it calls object_resolve_path() every time. Let's cache
S390FLICState by defining it as static.
Signed-off-by: Fei Li
Signed-off-by:
From: Danil Antonov
Wrapped printf calls inside debug macros (DPRINTF) in `if` statement.
This will ensure that printf function will always compile even if debug
output is turned off and, in turn, will prevent bitrot of the format
strings.
Signed-off-by: Danil Antonov
The following changes since commit da92ada855036c55bd08b0b0c64c7551d56f3586:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170420'
into staging (2017-04-20 17:41:34 +0100)
are available in the git repository at:
git://github.com/cohuck/qemu tags/s390x-20170421
Signed-off-by: Cornelia Huck
---
hw/s390x/s390-virtio-ccw.c | 17 -
include/hw/compat.h| 3 +++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index 40914fde6f..5ac315ac78
This patch is going to add SLIT table support in QEMU, and provides
additional option `dist` for command `-numa` to allow user set vNUMA
distance by QEMU command.
With this patch, when a user wants to create a guest that contains
several vNUMA nodes and also wants to set distance among those
From: Zhang Chen
I'm leaving my job at Fujitsu, this email address will stop working
this week. Update it to one that I will have access to later.
Signed-off-by: Xie Changlong
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1
OK,
Changed configs for inmate to UART0, and the messages appeared on the
console (on the ZCU102 board, not QEMU), so it is indeed functional.
root@plnx_aarch64:~# jailhouse/usr/local/sbin/jailhouse cell start
ZynqMP-linux-demo
Started cell "ZynqMP-linux-demo"
Hello 1 from cell!
Hello 2 from
On 18/04/17 15:55, Richard Henderson wrote:
> On 04/18/2017 07:38 AM, Mark Cave-Ayland wrote:
>> On 15/04/17 11:54, Richard Henderson wrote:
>>
>>> On 04/05/2017 01:35 AM, Mark Cave-Ayland wrote:
These aren't required since we can use the display width and height
directly.
On 2017/4/20 17:09, Dr. David Alan Gilbert wrote:
* Hailiang Zhang (zhang.zhanghaili...@huawei.com) wrote:
On 2017/4/8 1:18, Dr. David Alan Gilbert wrote:
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote:
There are several stages during loadvm/savevm process. In different stage,
Currently, qemu-img 'amend' subcommand would fail to adjust image's backing file
which was moved into different path.
For example, parent.qcow2, the backing file of leaf.qcow2, first is at /home/a/,
then moved into /home/b/. Originally this command,
"qemu-img amend -f qcow2 -o
Hi all,
As a non-native English speaker,
I sincerely hope you give me more suggestions about English
style and/or grammar for the spec.
Thanks in advance!
-Gonglei
> -Original Message-
> From: Gonglei (Arei)
> Sent: Thursday, April 13, 2017 5:11 PM
> To: qemu-devel@nongnu.org;
301 - 351 of 351 matches
Mail list logo