Colin Lord writes:
> Updates the help messages to reflect that GTK is the default display (if
> enabled), not SDL.
>
> Signed-off-by: Colin Lord
> ---
> v2: Update to try to implement Paolo's suggested wordings. It looks to
> me like the subsections get wrapped at 72 lines, which mean there wa
So they don't show up in "ls" command, and don't clutter editor's quick
open plugins easily (such as CtrlP of VIM).
Signed-off-by: Fam Zheng
---
tests/docker/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile
Save the unused page info into page bitmap. The virtio balloon
driver call this new API to get the unused page bitmap and send
the bitmap to hypervisor(QEMU) for speeding up live migration.
During sending the bitmap, some the pages may be modified and are
no free anymore, this inaccuracy can be cor
Expose the function to get the max pfn, so it can be used in the
virtio-balloon device driver. Simply include the 'linux/bootmem.h'
is not enough, if the device driver is built to a module, directly
refer the max_pfn lead to build failed.
Signed-off-by: Liang Li
Cc: Andrew Morton
Cc: Mel Gorman
Support the request for vm's unused page information, response with
a page bitmap. QEMU can make use of this bitmap and the dirty page
logging mechanism to skip the transportation of these unused pages,
this is very helpful to speed up the live migration process.
Signed-off-by: Liang Li
Cc: Micha
So they don't show up in "ls" command, and don't clutter editor's quick
open plugins easily (such as CtrlP of VIM).
Signed-off-by: Fam Zheng
---
Update .gitignore entry too.
---
.gitignore| 2 +-
tests/docker/Makefile.include | 2 +-
2 files changed, 2 insertions(+), 2 dele
Add a new feature which supports sending the page information with
a bitmap. The current implementation uses PFNs array, which is not
very efficient. Using bitmap can improve the performance of
inflating/deflating significantly
The page bitmap header will used to tell the host some information
abo
Define a new feature bit which supports a new virtual queue. This
new virtual qeuque is for information exchange between hypervisor
and guest. The VMM hypervisor can make use of this virtual queue
to request the guest do some operations, e.g. drop page cache,
synchronize file system, etc. And the V
Will allow faster notifications using a bitmap down the road.
balloon_pfn_to_page() can be removed because it's useless.
Signed-off-by: Liang Li
Signed-off-by: Michael S. Tsirkin
Cc: Paolo Bonzini
Cc: Cornelia Huck
Cc: Amit Shah
Cc: Dave Hansen
---
drivers/virtio/virtio_balloon.c | 22 +
The implementation of the current virtio-balloon is not very
efficient, the time spends on different stages of inflating
the balloon to 7GB of a 8GB idle guest:
a. allocating pages (6.5%)
b. sending PFNs to host (68.3%)
c. address translation (6.1%)
d. madvise (19%)
It takes about 4126ms for the
This patch set contains two parts of changes to the virtio-balloon.
One is the change for speeding up the inflating & deflating process,
the main idea of this optimization is to use bitmap to send the page
information to host instead of the PFNs, to reduce the overhead of
virtio data transmission
On Mon, 08/08 08:30, Stefan Weil wrote:
> Am 02.08.2016 um 11:18 schrieb Fam Zheng:
> [...]
> > +void qemu_uuid_generate(qemu_uuid_t out)
> > +{
> > +/* Version 4 UUID, RFC4122 4.4. */
> > +QEMU_BUILD_BUG_ON(sizeof(qemu_uuid_t) != 16);
> > +*((guint32 *)out + 0) = g_random_int();
> > +
On 08/08/2016 10:57 AM, Richard Henderson wrote:
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define LXV(name, access, swap, type, elems) \
+uint64_t helper_##name(CPUPPCState *env, \
+ target_ulong addr)
Am 02.08.2016 um 11:18 schrieb Fam Zheng:
[...]
> +void qemu_uuid_generate(qemu_uuid_t out)
> +{
> +/* Version 4 UUID, RFC4122 4.4. */
> +QEMU_BUILD_BUG_ON(sizeof(qemu_uuid_t) != 16);
> +*((guint32 *)out + 0) = g_random_int();
> +*((guint32 *)out + 1) = g_random_int();
> +*((gui
On Thu, Friday, August 05, 2016 3:56 AM, Michael S. Tsirkin wrote:
> -Original Message-
> From: Michael S. Tsirkin [mailto:m...@redhat.com]
> Sent: Friday, August 05, 2016 3:56 AM
> To: Gonglei (Arei)
> Cc: Zeng, Xin; qemu-devel@nongnu.org; virtio-...@lists.oasis-open.org;
> Huangpeng (Pete
Richard Henderson writes:
> On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
>> +#define GEN_QEMU_LOAD_64(ldop, ext) \
>> +static void glue(gen_qemu_, glue(ldop, _i64))(DisasContext *ctx,\
>> + TCGv_i64 val,
Richard Henderson writes:
> On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
>> +target_ulong helper_darn(uint32_t l)
>> +{
>> +target_ulong r = UINT64_MAX;
>> +
>> +if (l <= 2) {
>> +do {
>> +r = random() * random();
>> +r &= l ? UINT64_MAX : UINT32_MAX;
>
Richard Henderson writes:
> On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
>> +#define pattern(x) (((x) & 0xff) * (~(target_ulong)0 / 0xff))
>> +
>> +static void gen_xxspltib(DisasContext *ctx)
>> +{
>> +unsigned char uim8 = IMM8(ctx->opcode);
>> +if (xS(ctx->opcode) < 32) {
>> +
All code now uses built-in UUID implementation. Remove the code of
libuuid and make --enable-uuid and --disable-uuid only print a message.
Signed-off-by: Fam Zheng
---
configure | 43 ---
1 file changed, 4 insertions(+), 39 deletions(-)
diff --git a/confi
crypto now uses built-in uuid implementation, so this check is not
needed.
Signed-off-by: Fam Zheng
---
tests/test-crypto-block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-crypto-block.c b/tests/test-crypto-block.c
index a38110d..1957a86 100644
--- a/tests/te
A number of different places across the code base use CONFIG_UUID. Some
of them are soft dependency, some are not built if libuuid is not
available, some come with dummy fallback, some throws runtime error.
It is hard to maintain, and hard to reason for users.
Since UUID is a simple standard with
The uuid generation doesn't return error, so update the function
signature and calling code accordingly.
Signed-off-by: Fam Zheng
---
crypto/block-luks.c | 26 +++---
1 file changed, 7 insertions(+), 19 deletions(-)
diff --git a/crypto/block-luks.c b/crypto/block-luks.c
inde
Previously we conditionally generate if footer->uuid, when libuuid is
available. Now that we have a built-in implementation, we can switch to
it.
Signed-off-by: Fam Zheng
---
block/vpc.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/block/vpc.c b/block/vpc.c
index 4
This removes our dependency to libuuid, so that the driver can always be
built.
Similar to how we handled data plane configure options, --enable-vhdx
and --disable-vhdx are also changed to a nop with a message saying it's
obsolete.
Signed-off-by: Fam Zheng
---
block/Makefile.objs | 2 +-
block
Signed-off-by: Fam Zheng
---
tests/Makefile.include | 2 +
tests/test-uuid.c | 110 +
2 files changed, 112 insertions(+)
create mode 100644 tests/test-uuid.c
diff --git a/tests/Makefile.include b/tests/Makefile.include
index ebecfa4..d46f3a
The QEMU UUID api, including the data structure (QemuUUID), is fully
compatible with libuuid. Use it, and remove the unused code.
Signed-off-by: Fam Zheng
Reviewed-by: Stefan Weil
---
block/vdi.c | 49 ++---
1 file changed, 10 insertions(+), 39 delet
v2: Fix the endianness wrongness. [Jeff]
Add tests/test-uuid.c. [Denial]
Add r-b of Stefan Weil to the VDI patch.
The facts how we use libuuid now are not particularly pleasant.
- VHDX driver depends on uuid, but is unconditionally checked in iotests 109.
If it is not built, the test wo
On Thu, 08/04 11:33, Jeff Cody wrote:
> It makes sense to represent the uuid internally as a struct with the octet
> groupings of uint32_t, uint16_t, etc.., for endianness:
BTW I'm not sure it's worth to add that internal representation. libuuid uses
local endianness when generating and setting ve
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define STXV(name, access, swap, type, elems) \
+void helper_##name(CPUPPCState *env, uint64_t vsr, \
+ target_ulong addr) \
+{
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define LXV(name, access, swap, type, elems) \
+uint64_t helper_##name(CPUPPCState *env, \
+ target_ulong addr)\
+{
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define GEN_QEMU_STORE_64(stop) \
+static void gen_qemu_##stop##_i64(DisasContext *ctx,\
+ TCGv_i64 val, \
+
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define GEN_QEMU_LOAD_64(ldop, ext) \
+static void glue(gen_qemu_, glue(ldop, _i64))(DisasContext *ctx,\
+ TCGv_i64 val,\
+
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+target_ulong helper_darn(uint32_t l)
+{
+target_ulong r = UINT64_MAX;
+
+if (l <= 2) {
+do {
+r = random() * random();
+r &= l ? UINT64_MAX : UINT32_MAX;
+} while (r == UINT64_MAX);
+}
+
+ret
On 08/07/2016 11:06 PM, Nikunj A Dadhania wrote:
+#define pattern(x) (((x) & 0xff) * (~(target_ulong)0 / 0xff))
+
+static void gen_xxspltib(DisasContext *ctx)
+{
+unsigned char uim8 = IMM8(ctx->opcode);
+if (xS(ctx->opcode) < 32) {
+if (unlikely(!ctx->altivec_enabled)) {
+
Benjamin Herrenschmidt writes:
> On Mon, 2016-08-08 at 07:22 +0530, Nikunj A Dadhania wrote:
>>
>> > Isn't this a bit week ? Look at the implementation of H_RANDOM...
>>
>> Sure, will have a look.
>
> And if course I meant "weak" :-) That's what happens when I reply
> before breakfast !
I gues
On Mon, 2016-08-08 at 07:22 +0530, Nikunj A Dadhania wrote:
>
> > Isn't this a bit week ? Look at the implementation of H_RANDOM...
>
> Sure, will have a look.
And if course I meant "weak" :-) That's what happens when I reply
before breakfast !
Cheers,
Ben.
On Thu, 08/04 11:33, Jeff Cody wrote:
> > +void qemu_uuid_generate(qemu_uuid_t out)
> > +{
> > +/* Version 4 UUID, RFC4122 4.4. */
> > +QEMU_BUILD_BUG_ON(sizeof(qemu_uuid_t) != 16);
> > +*((guint32 *)out + 0) = g_random_int();
> > +*((guint32 *)out + 1) = g_random_int();
> > +*(
On Sat, 08/06 21:09, Vladimir Sementsov-Ogievskiy wrote:
> Source disk is created and filled with test data before each test case.
> Instead initialize it once for the whole unit.
>
> performance:
> qcow2: 25s -> 15s
> raw: 16s -> 11s
>
> Actually, changed only TestSetSpeed: before this patch i
When a TCE table (sPAPR IOMMU context) is in disabled state (which is true
by default for the 64-bit window), it has tcet->nb_table == 0 and
tcet->table == NULL. However, on system reset, spapr_tce_reset() executes,
which unconditionally calls
memset(tcet->table, 0, table_size);
We get aw
The following changes since commit 51009170d8fc263cfdcd5a60fe3ba213daa3d15b:
tests: Rename qtests which have names ending "error" (2016-08-05 15:27:15
+0100)
are available in the git repository at:
git://github.com/dgibson/qemu.git tags/ppc-for-2.7-20160808
for you to fetch changes up to 5
From: Mark Cave-Ayland
res_count should be set to the number of outstanding bytes after a DBDMA
request. Unfortunately this wasn't being set to zero by the non-block
transfer codepath meaning drivers that checked the descriptor result for
such requests (e.g reading the CDROM TOC) would assume fro
Prior to c8721d3 "spapr: Error out when CPU hotplug is attempted on older
pseries machines", attempting to use query-hotpluggable-cpus on pseries-2.6
and earlier machine types would SEGV.
That change fixed that, but due to some unexpected interactions in init
order and a brown-paper-bag worthy fai
This document describes how to use cpu hotplug in QEMU.
Signed-off-by: Dou Liyang
---
docs/cpu-hotplug.txt | 110 +++
1 file changed, 110 insertions(+)
create mode 100644 docs/cpu-hotplug.txt
diff --git a/docs/cpu-hotplug.txt b/docs/cpu-hotplug.t
This patch adds support for a new block device type called "vxhs".
Source code for the library that this code loads can be downloaded from:
https://github.com/MittalAshish/libqnio.git
Version 2 patch submission fixes the following issues:
(1) Removed code to dlopen library. We now check if libqnio
Benjamin Herrenschmidt writes:
> On Sun, 2016-08-07 at 23:06 +0530, Nikunj A Dadhania wrote:
>> +target_ulong helper_darn(uint32_t l)
>> +{
>> + target_ulong r = UINT64_MAX;
>> +
>> + if (l <= 2) {
>> + do {
>> + r = random() * random();
>> + r &= l ? UINT64_MAX
Hi, Michael
> From: Michael S. Tsirkin [mailto:m...@redhat.com]
> Subject: Re: [PATCH] debugcon: Add -debugport option to allow changing
> debug console port number
>
> On Fri, Aug 05, 2016 at 06:19:39PM +0800, Lv Zheng wrote:
> > Changing debugcon port to 0x402 allows the seabios AML table pre-
On Fri, Aug 05, 2016 at 08:21:59PM +0530, Bharata B Rao wrote:
> On Fri, Aug 05, 2016 at 05:50:29PM +1000, David Gibson wrote:
> > Prior to c8721d3 "spapr: Error out when CPU hotplug is attempted on older
> > pseries machines", attempting to use query-hotpluggable-cpus on pseries-2.6
> > and earlie
On Fri, Aug 05, 2016 at 10:45:57AM +0100, Peter Maydell wrote:
> If you build with clang-3.8's undefined behaviour sanitizer
> it reveals that hw/ppc/spapr_iommu.c is calling memset()
> with a NULL pointer:
>
> $ (cd build/clang; UBSAN_OPTIONS=print_stacktrace=1
> QTEST_QEMU_BINARY=ppc64-softmmu/q
On 07/30/2016 11:42 PM, Dmitry Osipenko wrote:
> Hello Marek,
Hi!
Sorry for the late reply, I got back from vacation only recently.
I noticed that a lot of files in this patchset are under LGPLv2.1 , I
believe that needs fixing too, right ? I will talk to Chris about this
as he is the original a
On Sun, 2016-08-07 at 23:06 +0530, Nikunj A Dadhania wrote:
> +target_ulong helper_darn(uint32_t l)
> +{
> + target_ulong r = UINT64_MAX;
> +
> + if (l <= 2) {
> + do {
> + r = random() * random();
> + r &= l ? UINT64_MAX : UINT32_MAX;
> + } while (r == UIN
From: Marc-André Lureau
ahci-test /x86_64/ahci/io/dma/lba28/retry triggers the following leak:
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7fc4b2a25e20 in malloc (/lib64/libasan.so.3+0xc6e20)
#1 0x7fc4993bce58 in g_malloc (/lib64/libglib-2.0.so.0+0x4ee58)
#2 0x556a1
From: Marc-André Lureau
qdev_get_dev_path() returns an allocated string, free it when no longer
needed.
Signed-off-by: Marc-André Lureau
Reviewed-by: Gerd Hoffmann
---
hw/usb/desc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/usb/desc.c b/hw/usb/desc.c
index adb026e..5e0e1d1 100644
From: Marc-André Lureau
Clear the list when finalizing. The list is created during realize with
virtio_input_idstr_config() and later by further calls to
virtio_input_init_config() and virtio_input_add_config().
This leak can be reproduced with device-introspect-test -p
/x86_64/device/introspect
From: Marc-André Lureau
In all cases, call qapi_free_NumaOptions(), by using a common ending
block.
Signed-off-by: Marc-André Lureau
Reviewed-by: Eric Blake
---
numa.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/numa.c b/numa.c
index 7286171..6289f46 10
From: Marc-André Lureau
Each irq is referenced by the IDEBus in ide_init2(), thus we can free
the no longer used array.
Signed-off-by: Marc-André Lureau
Reviewed-by: John Snow
Acked-by: John Snow
---
hw/ide/ahci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/ide/ahci.c b/hw/ide/ahc
From: Marc-André Lureau
The list is created during instance init and further populated with
usb_desc_set_string(). Clear it when unrealizing the device.
Signed-off-by: Marc-André Lureau
Reviewed-by: Gerd Hoffmann
---
hw/usb/bus.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/u
From: Marc-André Lureau
Release the qstring allocated in qjson_new().
Signed-off-by: Marc-André Lureau
Reviewed-by: Eric Blake
---
migration/qjson.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/migration/qjson.c b/migration/qjson.c
index 5cae55a..f345904 100644
--- a/migration/qjson.c
From: Marc-André Lureau
Make sure the connection data got freed when closing the chardev, to
avoid leaks. Introduce tcp_chr_free_connection() to clean all connection
related data, and move some tcp_chr_close() clean-ups there.
(while at it, set write_msgfds_num to 0 when clearing array in
tcp_se
From: Marc-André Lureau
Similarly to other chr_close callbacks, free char type specific data.
Signed-off-by: Marc-André Lureau
Reviewed-by: Eric Blake
---
qemu-char.c | 8
1 file changed, 8 insertions(+)
diff --git a/qemu-char.c b/qemu-char.c
index 7c529b2..8a0ab05 100644
--- a/qemu
From: Marc-André Lureau
The following changes since commit 51009170d8fc263cfdcd5a60fe3ba213daa3d15b:
tests: Rename qtests which have names ending "error" (2016-08-05 15:27:15
+0100)
are available in the git repository at:
git://github.com/elmarco/qemu.git tags/leaks-for-2.7-pull-request
On 7 August 2016 at 20:31, Marc-André Lureau wrote:
> Hi
>
> On Sun, Aug 7, 2016 at 11:15 PM Peter Maydell
> wrote:
>>
>> On 5 August 2016 at 19:01, Marc-André Lureau
>> wrote:
>> > Hi Peter,
>> >
>> > All patches have a reviewed-by tag now, Given the mix of domains, I can
>> > send
>> > you a p
Hi
On Sun, Aug 7, 2016 at 11:15 PM Peter Maydell
wrote:
> On 5 August 2016 at 19:01, Marc-André Lureau
> wrote:
> > Hi Peter,
> >
> > All patches have a reviewed-by tag now, Given the mix of domains, I can
> send
> > you a pull request. What do you think?
>
> 36 patches is a lot to be landing o
On 5 August 2016 at 19:01, Marc-André Lureau wrote:
> Hi Peter,
>
> All patches have a reviewed-by tag now, Given the mix of domains, I can send
> you a pull request. What do you think?
36 patches is a lot to be landing on the eve of rc2. How many
of these are actual leaks rather than leaks in te
Probably the same issue in different scenario: DHCP server is running on
the host machine (VMs use virtual NICs connected to a bridge) and is
also configured to do PXE, which works, but only when VMs are launched
in BIOS mode. When launched in UEFI mode using Tianocore, they fail. Now
the interesti
lxvb16x: Load VSX Vector Byte*16
lxvh8x: Load VSX Vector Halfword*8
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h | 2 ++
target-ppc/mem_helper.c | 33 +
target-ppc/translate/vsx-impl.inc.c | 20
target
stxsibx - Store VSX Scalar as Integer Byte Indexed
stxsihx - Store VSX Scalar as Integer Halfword Indexed
Signed-off-by: Nikunj A Dadhania
---
target-ppc/translate.c | 19 +--
target-ppc/translate/vsx-impl.inc.c | 2 ++
target-ppc/translate/vsx-ops.inc.c | 2 ++
3
lxsibzx - Load VSX Scalar as Integer Byte & Zero Indexed
lxsihzx - Load VSX Scalar as Integer Halfword & Zero Indexed
Signed-off-by: Nikunj A Dadhania
---
target-ppc/translate.c | 29 +++--
target-ppc/translate/vsx-impl.inc.c | 2 ++
target-ppc/translate/vsx
stxvb16x: Store VSX Vector Byte*16
stxvh8x: Store VSX Vector Halfword*8
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h | 2 ++
target-ppc/mem_helper.c | 32
target-ppc/translate/vsx-impl.inc.c | 20
tar
From: Ravi Bangoria
darn: Deliver A Random Number
For both CRN and RRN, returning 64-bit random number.
Signed-off-by: Ravi Bangoria
Signed-off-by: Nikunj A Dadhania
---
target-ppc/helper.h | 1 +
target-ppc/int_helper.c | 14 ++
target-ppc/translate.c | 11 +++
3 f
xxspltib: VSX Vector Splat Immediate Byte
Copy the immediate byte in each byte of target VSR
Signed-off-by: Nikunj A Dadhania
---
target-ppc/translate.c | 2 ++
target-ppc/translate/vsx-impl.inc.c | 20
target-ppc/translate/vsx-ops.inc.c | 5 +
3 files c
This series contains 10 new instructions for POWER9 ISA3.0.
Patches:
01: xxspltib: VSX Vector Splat Immediate Byte
02: darn: Deliver A Random Number
03: lxsibzx - Load VSX Scalar as Integer Byte & Zero Indexed
lxsihzx - Load VSX Scalar as Integer Halfword & Zero Indexed
On Sun, Aug 7, 2016 at 5:48 PM Stefano Dong (董兴水)
wrote:
> When Debug switch is open, this debug message will print again in
> function 'process_msg'. Delete it.
>
> Signed-off-by: Stefano Dong (董兴水)
>
Reviewed-by: Marc-André Lureau
> ---
> hw/misc/ivshmem.c | 1 -
> 1 file changed, 1 delet
When Debug switch is open, this debug message will print again in
function 'process_msg'. Delete it.
Signed-off-by: Stefano Dong (董兴水)
---
hw/misc/ivshmem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
index 40a2ebc..f803dfd 100644
--- a/hw/misc/ivshme
On Mon, Jul 25, 2016 at 7:01 PM, Anthony PERARD
wrote:
>
> On Sun, Jul 10, 2016 at 02:47:46PM +0300, Emil Condrea wrote:
> > This patch adds infrastructure for xen front drivers living in qemu,
> > so drivers don't need to implement common stuff on their own. It's
> > mostly xenbus management stu
74 matches
Mail list logo