[Bug 1686170] Re: qemu-system-x86_64+gdb: unable to correctly disassemble "real mode" (i8086) instructions after attaching to QEMU started with "-S -s" options

2019-12-26 Thread Marek Dolata
I had the same issue. My workaround is to force the target description to be loaded from a local xml file where the architecture tag is i8086. I took the one that was sent over the network from the server to the client and changed the architecture tag from i386 to i8086 and also the size of the

[Bug 1857640] Re: qemu-system-i386 registers clobbered after gdb set due to k_gs_base bug in gdbstub

2019-12-26 Thread Marek Dolata
** Tags added: gdb -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1857640 Title: qemu-system-i386 registers clobbered after gdb set due to k_gs_base bug in gdbstub Status in QEMU: New Bug

[Bug 1857640] [NEW] qemu-system-i386 registers clobbered after gdb set due to k_gs_base bug in gdbstub

2019-12-26 Thread Marek Dolata
Public bug reported: Due to a bug in /target/i386/gdbstub.c, setting registers in gdb causes the ones following k_gs_base to get clobbered. I'm using qemu version 4.2.50 on an msys64 and start qemu's i386 with a gdb server. $ qemu-system-i386 -version QEMU emulator version 4.2.50

GraphViz extension on QEMU Wiki

2019-12-26 Thread Philippe Mathieu-Daudé
Hello, Is it possible to have the GraphViz extension installed on the QEMU wiki? This: https://www.mediawiki.org/wiki/Extension:GraphViz I'm not sure who is responsible of this... Thanks! Phil.

Re: [PATCH v8 2/4] Acceptance test: add "boot_linux" tests

2019-12-26 Thread Wainer dos Santos Moschetta
Hi Cleber, just few comments below. On 12/18/19 9:24 PM, Cleber Rosa wrote: This acceptance test, validates that a full blown Linux guest can successfully boot in QEMU. In this specific case, the guest chosen is Fedora version 31. * x86_64, pc and q35 machine types, with and without kvm as

RE: [EXTERNAL] Re: MIPS cache bypass on custom board

2019-12-26 Thread Bensch, Alexander
Are there any hooks that would allow me to manipulate the MIPS TLB so that I can just split the mappings within the board file? I'm trying to avoid modifying the CPU source if possible. This type of solution sounds like it would be similar to the last one Peter described in the linked post

Re: [PATCH v8 1/4] Acceptance tests: introduce BLD_DIR, SRC_DIR and LNK_DIR

2019-12-26 Thread Wainer dos Santos Moschetta
On 12/19/19 9:12 AM, Philippe Mathieu-Daudé wrote: On 12/19/19 1:25 AM, Cleber Rosa wrote: On Thu, Dec 19, 2019 at 01:02:39AM +0100, Philippe Mathieu-Daudé wrote: On 12/19/19 12:24 AM, Cleber Rosa wrote: Some tests may benefit from using resources from a build directory. This introduces

Re: How to impove downtime of Live-Migration caused bdrv_drain_all()

2019-12-26 Thread 张海斌
Stefan Hajnoczi 于2019年3月29日周五 上午1:08写道: > > On Thu, Mar 28, 2019 at 05:53:34PM +0800, 张海斌 wrote: > > hi, stefan > > > > I have faced the same problem you wrote in > > https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg04025.html > > > > Reproduce as follow: > > 1. Clone qemu code from

Re: [PATCH v1] hw: fix using 4.2 compat in 5.0 machine types for i440fx/q35

2019-12-26 Thread Igor Mammedov
On Mon, 23 Dec 2019 10:28:56 +0300 Denis Plotnikov wrote: > 5.0 machine type uses 4.2 compats. This seems to be incorrect, since > the latests machine type by now is 5.0 and it should use its own > compat or shouldn't use any relying on the defaults. > Seems, like this appeared because of some

Re: [PATCH v27 17/21] hw/rx: RX Target hardware definition

2019-12-26 Thread Aleksandar Markovic
On Saturday, December 21, 2019, Yoshinori Sato wrote: > rx62n - RX62N cpu. > rx-virt - RX QEMU virtual target. > > v23 changes. > Add missing includes. > > v21 changes. > rx_load_image move to rx-virt.c > > The last two paragraphs should not be a part of the commit message. You'd better place

Re: [PATCH 1/2] virtio: reset region cache when on queue deletion

2019-12-26 Thread Yuri Benditovich
On Thu, Dec 26, 2019 at 10:58 AM Jason Wang wrote: > > > On 2019/12/26 下午12:36, Yuri Benditovich wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1708480 > > Fix leak of region reference that prevents complete > > device deletion on hot unplug. > > > More information is needed here, the bug

Re: [PATCH 1/2] virtio: reset region cache when on queue deletion

2019-12-26 Thread Jason Wang
On 2019/12/26 下午12:36, Yuri Benditovich wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1708480 Fix leak of region reference that prevents complete device deletion on hot unplug. More information is needed here, the bug said only q35 can meet this issue. What makes q35 different here?

[PATCH] nbd/server: improve nbd_negotiate_send_rep_list

2019-12-26 Thread Vladimir Sementsov-Ogievskiy
Don't try to write zero-lenght strings. Signed-off-by: Vladimir Sementsov-Ogievskiy --- nbd/server.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/nbd/server.c b/nbd/server.c index 24ebc1a805..28a915f5a2 100644 --- a/nbd/server.c +++ b/nbd/server.c @@