Hi,
First attempt on making display updates thread-save for real. Most
interesting patches at this point are #2 (adds helper functions to
create and use a dirty bitmap copy) and #3 (updates vga code to use
them).
Patch #1 fixes a bug I've noticed while wading through the vga code,
and #4 remov
On Thu, Mar 23, 2017 at 09:45:23PM +0100, Juan Quintela wrote:
> This are the last postcopy fields still at MigrationState. Once there
s/This/These/
> Move MigrationSrcPageRequest to ram.c and remove MigrationState
> parameters where appropiate.
>
> Signed-off-by: Juan Quintela
Reviewed-by: P
Drop the temporary workaround for the broken display updates.
TODO: before actually merging this we have to fix all the non-vga
display adapters too ...
Signed-off-by: Gerd Hoffmann
---
ui/console.c | 25 +
1 file changed, 1 insertion(+), 24 deletions(-)
diff --gi
Add vga_scanline_invalidated helper to check whenever a scanline was
invalidated. Add a sanity check to fix OOB read access for display
heights larger than 2048.
Only cirrus uses this, for hardware cursor rendering, so having this
work properly for the first 2048 scanlines only shouldn't be a pro
This patch adds support for getting and using a local copy of the dirty
bitmap.
memory_region_copy_and_clear_dirty() will create a copy 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 range
is exp
The vga code clears the dirty bits *after* reading the framebuffer
memory. So if the guest framebuffer updates hits the race window
between vga reading the framebuffer and vga clearing the dirty bits
vga will miss that update
Fix it by using the new memory_region_copy_and_clear_dirty()
memory_reg
Eric Blake writes:
> On 03/29/2017 11:45 AM, Markus Armbruster wrote:
>> Note that the new variants are impossible in qemu_gluster_glfs_init(),
>> because the gconf->server can only come from qemu_gluster_parse_uri()
>> or qemu_gluster_parse_json(), and neither can create anything but
>> 'tcp' or
Max Reitz writes:
> On 29.03.2017 18:45, Markus Armbruster wrote:
>> Note that the new variants are impossible in qemu_gluster_glfs_init(),
>> because the gconf->server can only come from qemu_gluster_parse_uri()
>> or qemu_gluster_parse_json(), and neither can create anything but
>> 'tcp' or 'un
Max Reitz writes:
> On 29.03.2017 18:45, Markus Armbruster wrote:
>> -blockdev and blockdev_add convert their arguments via QObject to
>> BlockdevOptions for qmp_blockdev_add(), which converts them back to
>> QObject, then to a flattened QDict. The QDict's members are typed
>> according to the Q
On Thu, Mar 23, 2017 at 09:45:22PM +0100, Juan Quintela wrote:
> It was on MigrationState when it is only used inside ram.c for
> postcopy. Problem is that we need to access it without being able to
> pass it RAMState directly.
>
> Signed-off-by: Juan Quintela
> ---
> include/migration/migratio
Max Reitz writes:
> On 29.03.2017 18:45, Markus Armbruster wrote:
>> We have quite a few switches over SocketAddressKind. Some have case
>> labels for all enumeration values, others rely on a default label.
>> Some abort when the value isn't a valid SocketAddressKind, others
>> report an error t
Marc-André Lureau writes:
> - Original Message -
>>
>> Hi
>>
>> - Original Message -
>> > Watch this:
>> >
>> > $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
>> > {"QMP": {"version": {"qemu": {"micro": 91, "minor": 8, "major": 2},
>> > "package": " (v
On Thu, Mar 23, 2017 at 09:45:19PM +0100, Juan Quintela wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Peter Xu
On Thu, Mar 23, 2017 at 09:45:18PM +0100, Juan Quintela wrote:
> Once there, rename the type to be shorter.
>
> Signed-off-by: Juan Quintela
> Reviewed-by: Dr. David Alan Gilbert
Reviewed-by: Peter Xu
-- peterx
On Thu, Mar 23, 2017 at 09:45:20PM +0100, Juan Quintela wrote:
> Somewhere it was passed by reference, just use it from RAMState.
>
> Signed-off-by: Juan Quintela
> Reviewed-by: Juan Quintela
(Is this a self-review above? :-)
Reviewed-by: Peter Xu
-- peterx
On Thu, Mar 23, 2017 at 09:45:15PM +0100, Juan Quintela wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Peter Xu
> ---
> migration/ram.c | 32 ++--
> 1 file changed, 18 insertions(+), 14 deletions(-)
>
> diff --git a/migration/ram.c b/migration/ram.c
> index 329
On Thu, Mar 23, 2017 at 09:45:17PM +0100, Juan Quintela wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Peter Xu
On Thu, Mar 23, 2017 at 09:45:16PM +0100, Juan Quintela wrote:
> And then init only things that are not zero by default.
>
> Signed-off-by: Juan Quintela
Reviewed-by: Peter Xu
-- peterx
On Thu, Mar 23, 2017 at 09:45:21PM +0100, Juan Quintela wrote:
> Just unfold it. Move ram_bytes_remaining() with the rest of exported
> functions.
>
> Signed-off-by: Juan Quintela
> ---
> migration/ram.c | 19 +++
> 1 file changed, 7 insertions(+), 12 deletions(-)
>
> diff --gi
On 2017年03月30日 05:26, Michael S. Tsirkin wrote:
On Wed, Mar 29, 2017 at 02:12:50PM +0800, Jason Wang wrote:
We return int64_t as the length of region cache but accept hwaddr as
the required length. This is wrong and may confuse the caller since
the it can lead comparison between signed and uns
On Tue, Mar 28, 2017 at 7:28 PM, Eric Auger wrote:
> KVM_DEV_ARM_VGIC_GRP_CPU_SYSREGS needs to be checked before
> attempting to read ICC_CTLR_EL1; otherwise kernel versions not
> exposing this kvm device group will be incompatible with qemu 2.9.
>
> Fixes: 07a5628 ("hw/intc/arm_gicv3_kvm: Reset
Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing
"dump-guest-memory /dev/null 0 8192" results in segfault.
Fix by checking if we have CPU.
Signed-off-by: Iwona Kotlarska
---
target/i386/arch_dump.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
Hi Jeff,
Will incorporate all your review comments with two small dependent
changes as follows:
@@ -302,14 +286,14 @@ static int vxhs_open(BlockDriverState *bs, QDict *options,
int bdrv_flags, Error **errp)
{
BDRVVXHSState *s = bs->opaque;
-void *dev_handlep = NULL
On Wed, Mar 29, 2017 at 07:39:25AM +0200, Thomas Huth wrote:
> On 29.03.2017 07:01, Sam Bobroff wrote:
> > On Power8 hosts it is currently theoretically possible for QEMU/KVM-HV
> > guests
> > to receive a ibm,pa-features property indicating that HTM support is
> > available
> > when it is not.
On 03/29/2017 09:01 PM, Ed Swierk via Qemu-devel wrote:
> Parts of qemu's block code have changed a lot in recent months but are
> not well exercised by current tests.
>
> Subtle bugs have crept in causing assertion failures, hangs and other
> crashes in a variety of situations: immediately on sta
On 2017年03月29日 19:39, Cornelia Huck wrote:
On Wed, 29 Mar 2017 17:18:00 +0800
Jason Wang wrote:
On 2017年03月29日 16:45, Cornelia Huck wrote:
On Wed, 29 Mar 2017 10:09:10 +0200
Paolo Bonzini wrote:
On 29/03/2017 10:00, Jason Wang wrote:
1) vtd was reset first
2) during the reset of virtio
On 03/13/2017 05:00 PM, Max Reitz wrote:
> On 08.03.2017 03:54, Eric Blake wrote:
>> Tweak 097 and 176 to operate on an image that is not cluster-aligned,
>> to give further coverage of clearing out an entire image.
>>
>> Signed-off-by: Eric Blake
>>
>> ---
>> v6: new patch
>> ---
>> tests/qemu-i
On Wed, Mar 29, 2017 at 10:13:59AM +0200, Cédric Le Goater wrote:
> On 03/29/2017 07:18 AM, David Gibson wrote:
> > On Tue, Mar 28, 2017 at 09:32:29AM +0200, Cédric Le Goater wrote:
> >> Like this is done for the sPAPR machine, we use a simple array under
> >> the PowerNV machine to store the Inter
Parts of qemu's block code have changed a lot in recent months but are
not well exercised by current tests.
Subtle bugs have crept in causing assertion failures, hangs and other
crashes in a variety of situations: immediately on start, on first
guest activity, on external snapshot create or commit
On Wed, Mar 29, 2017 at 10:04:47AM +0200, Paolo Bonzini wrote:
>
>
> On 29/03/2017 05:04, Alex Williamson wrote:
> >>> What if we used this as a prototype:
> >>>
> >>> int (*get_fd)(IOMMUFdType type, MemoryRegion *iommu);
> >>>
> >>> And then we defined:
> >>>
> >>> typedef enum {
> >>> SPAPR
On Wed, Mar 29, 2017 at 09:14:01AM +0200, Cédric Le Goater wrote:
> On 03/29/2017 06:11 AM, David Gibson wrote:
> > On Tue, Mar 28, 2017 at 09:32:25AM +0200, Cédric Le Goater wrote:
> >> Today, the ICPState array of the sPAPR machine is indexed with
> >> 'cpu_index' of the CPUState. This numbering
Hi Christoffer/Laszlo,
On 2017/3/30 1:44, Christoffer Dall wrote:
> On Wed, Mar 29, 2017 at 05:37:49PM +0200, Laszlo Ersek wrote:
>> On 03/29/17 16:48, Christoffer Dall wrote:
>>> On Wed, Mar 29, 2017 at 10:36:51PM +0800, gengdongjiu wrote:
2017-03-29 18:36 GMT+08:00, Achin Gupta :
>>
> Q
On Wed, Mar 29, 2017 at 11:04:39PM +0200, Iwona Kotlarska wrote:
> Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing
> "dump-guest-memory /dev/null 0 8192" results in segfault.
> Fix by checking if we have CPU.
>
> Signed-off-by: Iwona Kotlarska
> ---
> v1 --> v2
> Ad
> On 29 Mar 2017, at 13:40, Michael S. Tsirkin wrote:
>
> On Thu, Mar 02, 2017 at 08:43:00AM -0800, Felipe Franciosi wrote:
>> Based on various discussions on the 2016 KVM Forum, I'm sending over a
>> vhost-user-scsi implementation for your consideration.
>>
>> This patchset introduces a new vh
On 20.03.2017 16:14, Max Reitz wrote:
> On 20.03.2017 12:26, Stefan Hajnoczi wrote:
>> On Mon, Mar 13, 2017 at 10:41:14PM +0100, Max Reitz wrote:
>>> This patch extends qcow2_calc_size_usage() so it can calculate the
>>> additional space needed for preallocating image growth.
>>>
>>> Signed-off-by:
On Wed, Mar 29, 2017 at 06:58:36PM +0200, Paolo Bonzini wrote:
>
>
> On 29/03/2017 18:46, Dr. David Alan Gilbert wrote:
> >> By the way, what about old machine types like "pc-0.10" ? Do we want to
> >> carry them along forever (e.g. since it is not too complicated to
> >> maintain?), or shall we
On Wed, Mar 29, 2017 at 04:16:30PM +0800, Peter Xu wrote:
> On Wed, Mar 29, 2017 at 04:00:37PM +0800, Jason Wang wrote:
> > Hi:
> >
> > I meet an issue when doing reboot for a guest with two virtio-net-pci cards
> > when iommu is enabled. What happens is:
> >
> >
> > 1) vtd was reset first
>
>
On Wed, Mar 29, 2017 at 2:06 PM, Christoffer Dall wrote:
> On Wed, Mar 29, 2017 at 01:51:19PM -0700, Radha Mohan wrote:
>> On Wed, Mar 29, 2017 at 11:56 AM, Christoffer Dall wrote:
>> > On Tue, Mar 28, 2017 at 01:24:15PM -0700, Radha Mohan wrote:
>> >> On Tue, Mar 28, 2017 at 1:16 PM, Christoffer
On Wed, Mar 29, 2017 at 05:24:18PM +0800, Jason Wang wrote:
>
>
> On 2017年03月29日 17:11, Paolo Bonzini wrote:
> >
> > On 29/03/2017 11:09, Jason Wang wrote:
> > > > > This looks a good fix but may not solve this issue completely. Depends
> > > > > on the iova that guest uses, address_space_cache_
On Wed, Mar 29, 2017 at 10:09:10AM +0200, Paolo Bonzini wrote:
>
>
> On 29/03/2017 10:00, Jason Wang wrote:
> >
> >
> > 1) vtd was reset first
> >
> > 2) during the reset of virtio-net-pci #1, deletion of msix subregion
> > will cause a commit of all memory listeners
> >
> > 3) virito-net-pci
On Wed, Mar 29, 2017 at 02:12:50PM +0800, Jason Wang wrote:
> We return int64_t as the length of region cache but accept hwaddr as
> the required length. This is wrong and may confuse the caller since
> the it can lead comparison between signed and unsigned types. The
> caller can not catch the fai
On 29.03.2017 03:16, Dong Jia Shi wrote:
> raw_open() expects the caller always passing in the right actual
> @options parameter. But when trying to applying snapshot on a RBD
> image, bdrv_snapshot_goto() calls raw_open() (by calling the
> bdrv_open callback on the BlockDriver) with a NULL @option
On Wed, Mar 29, 2017 at 01:51:19PM -0700, Radha Mohan wrote:
> On Wed, Mar 29, 2017 at 11:56 AM, Christoffer Dall wrote:
> > On Tue, Mar 28, 2017 at 01:24:15PM -0700, Radha Mohan wrote:
> >> On Tue, Mar 28, 2017 at 1:16 PM, Christoffer Dall wrote:
> >> > Hi Radha,
> >> >
> >> > On Tue, Mar 28, 20
Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing
"dump-guest-memory /dev/null 0 8192" results in segfault.
Fix by checking if we have CPU.
Signed-off-by: Iwona Kotlarska
---
v1 --> v2
Added brackets around if body.
Changed subject.
target/i386/arch_dump.c | 8 +-
On Wed, Mar 29, 2017 at 11:56 AM, Christoffer Dall wrote:
> On Tue, Mar 28, 2017 at 01:24:15PM -0700, Radha Mohan wrote:
>> On Tue, Mar 28, 2017 at 1:16 PM, Christoffer Dall wrote:
>> > Hi Radha,
>> >
>> > On Tue, Mar 28, 2017 at 12:58:24PM -0700, Radha Mohan wrote:
>> >> Hi,
>> >> I am seeing an
On Wed, Mar 29, 2017 at 04:19:50PM -0400, Vladislav Yasevich wrote:
> virtio announcements seem to run on its own timer with it's own
> repetition loop and are invoked separately from qemu_announce_self.
> This patch consolidates announcements into a single location and
> allows other nics to provi
On 29.03.2017 22:32, Eric Blake wrote:
> On 03/29/2017 02:59 PM, Max Reitz wrote:
>> On 29.03.2017 18:45, Markus Armbruster wrote:
>>> Commit 831acdc "sheepdog: Implement bdrv_parse_filename()" and commit
>>> d282f34 "sheepdog: Support blockdev-add" have different ideas on how
>>> the QemuOpts para
On 03/29/2017 02:59 PM, Max Reitz wrote:
> On 29.03.2017 18:45, Markus Armbruster wrote:
>> Commit 831acdc "sheepdog: Implement bdrv_parse_filename()" and commit
>> d282f34 "sheepdog: Support blockdev-add" have different ideas on how
>> the QemuOpts parameters for the server address are named. Fix
On 28.03.2017 18:12, Denis V. Lunev wrote:
> Recently we expirience hang with iothreads enabled with the following
> call trace:
> Thread 1 (Thread 0x7fa95efebc80 (LWP 177117)):
> 0 ppoll () from /lib64/libc.so.6
> 2 qemu_poll_ns () at qemu-timer.c:313
> 3 aio_poll () at aio-posix.c:457
> 4 bdr
virtio announcements seem to run on its own timer with it's own
repetition loop and are invoked separately from qemu_announce_self.
This patch consolidates announcements into a single location and
allows other nics to provide it's own announcement capabilities, if
necessary.
This is also usefull i
On 03/29/2017 11:45 AM, Markus Armbruster wrote:
> SocketAddress is a simple union, and simple unions are awkward: they
> have their variant members wrapped in a "data" object on the wire, and
> require additional indirections in C. I intend to limit its use to
> existing external interfaces, and
On Wed, Mar 29, 2017 at 04:41:39PM -0300, Eduardo Habkost wrote:
[...]
> Eduardo Habkost (9):
> configure: test if _Generic works as expected
> Simplify code using *MACHINE_GET_CLASS
> qom: QUALIFIED_CAST helper macro
> qom: Make object_class_get_parent() const-aware
> Make class paramete
On Wed, Mar 29, 2017 at 09:56:54PM +0200, Laszlo Ersek wrote:
> On 03/29/17 21:41, Eduardo Habkost wrote:
> > The problem
> > ---
> >
> > QOM has a data model where class struct data is static: class
> > structs are initialized at class_init, and never changed again.
> >
> > ...except for
On Wed, Mar 29, 2017 at 06:45:17PM +0200, Markus Armbruster wrote:
> qemu_gluster_glfs_init() and qemu_gluster_parse_json() rely on the
> fact that SocketAddressFlatType has only two members
> SOCKET_ADDRESS_FLAT_TYPE_INET and SOCKET_ADDRESS_FLAT_TYPE_UNIX.
> Correct, but won't stay correct. Make
On 03/29/2017 11:45 AM, Markus Armbruster wrote:
> Note that the new variants are impossible in qemu_gluster_glfs_init(),
> because the gconf->server can only come from qemu_gluster_parse_uri()
> or qemu_gluster_parse_json(), and neither can create anything but
> 'tcp' or 'unix'.
>
> Signed-off-by
On 29.03.2017 18:45, Markus Armbruster wrote:
> Commit 831acdc "sheepdog: Implement bdrv_parse_filename()" and commit
> d282f34 "sheepdog: Support blockdev-add" have different ideas on how
> the QemuOpts parameters for the server address are named. Fix that.
> While there, rename BlockdevOptionsSh
On 03/29/17 21:41, Eduardo Habkost wrote:
> The problem
> ---
>
> QOM has a data model where class struct data is static: class
> structs are initialized at class_init, and never changed again.
>
> ...except for a few rare cases where class data is changed
> outside class_init. Those case
On 03/29/2017 11:45 AM, Markus Armbruster wrote:
> Certain features make sense only with certain address families. For
> instance, passing file descriptors requires AF_UNIX. Testing
> SocketAddress's saddr->type == SOCKET_ADDRESS_KIND_UNIX is obvious,
> but problematic: it can't recognize AF_UNIX
Test if _Generic works as expected, and set HAVE_C11_GENERIC
config variable if it does.
Signed-off-by: Eduardo Habkost
---
configure | 20
1 file changed, 20 insertions(+)
diff --git a/configure b/configure
index d1ce33bc79..b29bce0b53 100755
--- a/configure
+++ b/configur
On 29.03.2017 18:45, Markus Armbruster wrote:
> SocketAddress is a simple union, and simple unions are awkward: they
> have their variant members wrapped in a "data" object on the wire, and
> require additional indirections in C. I intend to limit its use to
> existing external interfaces, and con
object_get_class() and *_GET_CLASS() macros are going to be
changed to return const pointers because the class structs are
supposed to be initialized at class_init and not be changed
later.
However, there are a few places the code still break the
(proposed) rules, and change class data outside cla
To avoid having code accidentaly changing class structs outside
class_init, make object_get_class() return a const pointer.
This will automatically affect OBJECT_GET_CLASS,
OBJECT_CLASS_CHECK, and the macros defined using them, because
OBJECT_CLASS_CHECK is already const-aware.
Signed-off-by: Edu
The new helper will help us write macros that keep const-ness of
the input arguments, using C11's _Generic keyword.
If _Generic is not supported by the compiler, QUALIFIED_CAST
becomes a regular non-const cast.
Signed-off-by: Eduardo Habkost
---
include/qom/object.h | 46 +++
This makes object_class_get_parent() return a const pointer in
case its class argument is a const pointer.
Signed-off-by: Eduardo Habkost
---
include/qom/object.h | 6 +-
qom/object.c | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/include/qom/object.h b/includ
There are many functions that don't need a non-const class
pointer argument. Change them to accept a const argument. This
will allow us to change class pointer variables to const in most
of the code.
Signed-off-by: Eduardo Habkost
---
include/qom/object.h| 7 ---
gdbstub.c
The problem
---
QOM has a data model where class struct data is static: class
structs are initialized at class_init, and never changed again.
...except for a few rare cases where class data is changed
outside class_init. Those cases are:
qbus_realize(), code added by:
commit 61de3676
Use the QUALIFIED_CAST macro to make OBJECT_CLASS,
OBJECT_CLASS_CHECK, object_class_dynamic_cast(), and
object_class_dynamic_cast_assert() return a const pointer if the
class argument is already a const pointer.
Signed-off-by: Eduardo Habkost
---
include/qom/object.h | 31 +--
There's no need to use MACHINE_GET_CLASS/object_get_class()
followed by a *MACHINE_CLASS cast. Use *MACHINE_GET_CLASS()
directly.
Signed-off-by: Eduardo Habkost
---
hw/core/machine.c | 3 +--
hw/pci/pci.c | 3 +--
hw/xen/xen_backend.c | 3 +--
target/i386/machine.c | 3 +--
4 files
On 29.03.2017 18:45, Markus Armbruster wrote:
> Note that the new variants are impossible in qemu_gluster_glfs_init(),
> because the gconf->server can only come from qemu_gluster_parse_uri()
> or qemu_gluster_parse_json(), and neither can create anything but
> 'tcp' or 'unix'.
s/tcp/inet/
> Signe
On 29.03.2017 18:45, Markus Armbruster wrote:
> qemu_gluster_glfs_init() and qemu_gluster_parse_json() rely on the
> fact that SocketAddressFlatType has only two members
> SOCKET_ADDRESS_FLAT_TYPE_INET and SOCKET_ADDRESS_FLAT_TYPE_UNIX.
> Correct, but won't stay correct. Make them more robust.
>
On 29.03.2017 18:45, Markus Armbruster wrote:
> -blockdev and blockdev_add convert their arguments via QObject to
> BlockdevOptions for qmp_blockdev_add(), which converts them back to
> QObject, then to a flattened QDict. The QDict's members are typed
> according to the QAPI schema.
>
> -drive co
There is currently no expectation that Audio CDs will work on an
emulated CD drive; as long as audio CDs aren't causing QEMU to crash or
anything of the sort, this is wishlist and not a bug.
Still, I'll try to take a look later and see if there's an easy win here
or not. I imagine we don't support
On 29.03.2017 18:45, Markus Armbruster wrote:
> We have quite a few switches over SocketAddressKind. Some have case
> labels for all enumeration values, others rely on a default label.
> Some abort when the value isn't a valid SocketAddressKind, others
> report an error then.
>
> Unify as follows
On 29.03.2017 18:45, Markus Armbruster wrote:
> Watch this:
>
> $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
> {"QMP": {"version": {"qemu": {"micro": 91, "minor": 8, "major": 2},
> "package": " (v2.8.0-1195-gf84141e-dirty)"}, "capabilities": []}}
> { "execute": "qmp_ca
On Tue, Mar 28, 2017 at 01:24:15PM -0700, Radha Mohan wrote:
> On Tue, Mar 28, 2017 at 1:16 PM, Christoffer Dall wrote:
> > Hi Radha,
> >
> > On Tue, Mar 28, 2017 at 12:58:24PM -0700, Radha Mohan wrote:
> >> Hi,
> >> I am seeing an issue with qemu-system-aarch64 when using pflash
> >> (booting ker
On 29.03.2017 18:45, Markus Armbruster wrote:
> Certain features make sense only with certain address families. For
> instance, passing file descriptors requires AF_UNIX. Testing
> SocketAddress's saddr->type == SOCKET_ADDRESS_KIND_UNIX is obvious,
> but problematic: it can't recognize AF_UNIX wh
* Juan Quintela (quint...@redhat.com) wrote:
> Signed-off-by: Juan Quintela
Oh yeh, so it doesn't.
Reviewed-by: Dr. David Alan Gilbert
> ---
> include/migration/migration.h | 3 +--
> migration/postcopy-ram.c | 6 ++
> migration/ram.c | 9 +++--
> migration/savevm.c
On Wed, Mar 29, 2017 at 06:45:14PM +0200, Markus Armbruster wrote:
> Watch this:
>
> $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
> {"QMP": {"version": {"qemu": {"micro": 91, "minor": 8, "major": 2},
> "package": " (v2.8.0-1195-gf84141e-dirty)"}, "capabilities": []}}
>
On Wed, 29 Mar 2017, Paolo Bonzini wrote:
> On 29/03/2017 01:54, Stefano Stabellini wrote:
> >>> I understand your point of view, and honestly it wouldn't be a problem
> >>> doing it the way you suggested either. However, I think that going
> >>> forward it will be less of a maintenance pain to kee
Running QEMU with "qemu-system-x86_64 -M none -nographic -m 256" and executing
"dump-guest-memory /dev/null 0 8192" results in segfault.
Fix by checking if we have CPU.
Signed-off-by: Iwona Kotlarska
---
target/i386/arch_dump.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
On 29 March 2017 at 19:17, Radha Mohan wrote:
>> I will also try with qemu 2.8 and see.
>
> Same issue with 2.8.0 and 2.7.1 qemu version.
Thanks for checking -- good to know it's not a regression
on the QEMU side. (If you can soft-lockup the host it's
clearly a host kernel bug, but it might have
On Tue, Mar 28, 2017 at 1:24 PM, Radha Mohan wrote:
> On Tue, Mar 28, 2017 at 1:16 PM, Christoffer Dall wrote:
>> Hi Radha,
>>
>> On Tue, Mar 28, 2017 at 12:58:24PM -0700, Radha Mohan wrote:
>>> Hi,
>>> I am seeing an issue with qemu-system-aarch64 when using pflash
>>> (booting kernel via UEFI b
* Juan Quintela (quint...@redhat.com) wrote:
> Rename it to preffer_xbzrle that is a more descriptive name.
>
> Signed-off-by: Juan Quintela
> ---
> migration/ram.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/migration/ram.c b/migration/ram.c
> index 6a3970
Fixed in -rc2, closing.
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1675108
Title:
Cocoa UI always crashes on startup
Status in QEMU:
Fi
On Fri, Mar 17, 2017 at 02:55:33PM +0800, Wei Wang wrote:
> On 03/17/2017 05:28 AM, Andrew Morton wrote:
> > On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote:
> >
> > > From: Liang Li
> > >
> > > This patch adds a function to provides a snapshot of the present system
> > > unused pages. An imp
On Wed, Mar 29, 2017 at 05:37:49PM +0200, Laszlo Ersek wrote:
> On 03/29/17 16:48, Christoffer Dall wrote:
> > On Wed, Mar 29, 2017 at 10:36:51PM +0800, gengdongjiu wrote:
> >> 2017-03-29 18:36 GMT+08:00, Achin Gupta :
>
> >>> Qemu is essentially fulfilling the role of secure firmware at the
> >>>
* Juan Quintela (quint...@redhat.com) wrote:
> Signed-off-by: Juan Quintela
Reviewed-by: Dr. David Alan Gilbert
> ---
> migration/ram.c | 35 +--
> 1 file changed, 17 insertions(+), 18 deletions(-)
>
> diff --git a/migration/ram.c b/migration/ram.c
> index 0900
On 03/29/2017 07:52 PM, Iwona Kotlarska wrote:
Running "dump-guest-memory /dev/null 0 8192" results in segfault.
Fix by checking if we have CPU.
Hi Iwona,
Thank you for contributing to the QEMU project.
Please state the whole command line that causes the problem,
not only the hmp command:
Laszlo Ersek writes:
> On 03/29/17 14:51, Michael S. Tsirkin wrote:
>> On Wed, Mar 29, 2017 at 01:58:29PM +0200, Laszlo Ersek wrote:
>>> (8) When QEMU gets SIGBUS from the kernel -- I hope that's going to come
>>> through a signalfd -- QEMU can format the CPER right into guest memory,
>>> and the
Hi Achin,
Thanks for your mail and answer.
2017-03-29 18:36 GMT+08:00, Achin Gupta :
> Hi gengdongjiu,
>
> On Wed, Mar 29, 2017 at 05:36:37PM +0800, gengdongjiu wrote:
>>
>> Hi Laszlo/Biesheuvel/Qemu developer,
>>
>>Now I encounter a issue and want to consult with you in ARM64 platform,
>>
* Juan Quintela (quint...@redhat.com) wrote:
> And then init only things that are not zero by default.
>
> Signed-off-by: Juan Quintela
Reviewed-by: Dr. David Alan Gilbert
> ---
> migration/ram.c | 25 +++--
> 1 file changed, 3 insertions(+), 22 deletions(-)
>
> diff --gi
On 29/03/2017 18:45, Markus Armbruster wrote:
> Unfortunately, SocketAddress is also visible in -drive since 2.8. Add
> still more gunk to nbd_process_legacy_socket_options(). You can now
> shorten
>
> -drive
> if=none,driver=nbd,server.type=inet,server.data.host=127.0.0.1,server.data.por
On 29/03/2017 18:46, Dr. David Alan Gilbert wrote:
>> By the way, what about old machine types like "pc-0.10" ? Do we want to
>> carry them along forever (e.g. since it is not too complicated to
>> maintain?), or shall we get rid of those one day (e.g. with QEMU 3.0), too?
> It seems reasonable t
On 29.03.2017 18:46, Dr. David Alan Gilbert wrote:
> * Thomas Huth (th...@redhat.com) wrote:
>> On 27.03.2017 21:04, John Snow wrote:
>>>
>>> On 03/27/2017 04:06 AM, Thomas Huth wrote:
On 24.03.2017 23:10, John Snow wrote:
>> [...]
> I have a list of things I want to axe...
I've
Running "dump-guest-memory /dev/null 0 8192" results in segfault.
Fix by checking if we have CPU.
Signed-off-by: Iwona Kotlarska
---
target/i386/arch_dump.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/target/i386/arch_dump.c b/target/i386/arch_dump.c
index 5a2e4be5
- Original Message -
>
> Hi
>
> - Original Message -
> > Watch this:
> >
> > $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
> > {"QMP": {"version": {"qemu": {"micro": 91, "minor": 8, "major": 2},
> > "package": " (v2.8.0-1195-gf84141e-dirty)"}, "capabi
* Thomas Huth (th...@redhat.com) wrote:
> On 27.03.2017 21:04, John Snow wrote:
> >
> > On 03/27/2017 04:06 AM, Thomas Huth wrote:
> >> On 24.03.2017 23:10, John Snow wrote:
> [...]
> >>> I have a list of things I want to axe...
> >>
> >> I've started a Wiki page with such a list here:
> >>
> >> h
-blockdev and blockdev_add convert their arguments via QObject to
BlockdevOptions for qmp_blockdev_add(), which converts them back to
QObject, then to a flattened QDict. The QDict's members are typed
according to the QAPI schema.
-drive converts its argument via QemuOpts to a (flat) QDict. This
Certain features make sense only with certain address families. For
instance, passing file descriptors requires AF_UNIX. Testing
SocketAddress's saddr->type == SOCKET_ADDRESS_KIND_UNIX is obvious,
but problematic: it can't recognize AF_UNIX when type ==
SOCKET_ADDRESS_KIND_FD.
Mark such tests of
Hi
- Original Message -
> Watch this:
>
> $ qemu-system-x86_64 -nodefaults -S -display none -qmp stdio
> {"QMP": {"version": {"qemu": {"micro": 91, "minor": 8, "major": 2},
> "package": " (v2.8.0-1195-gf84141e-dirty)"}, "capabilities": []}}
> { "execute": "qmp_capabilitie
1 - 100 of 186 matches
Mail list logo