On 05.12.18 06:06, David Gibson wrote:
> Currently, virtio-balloon uses madvise() with MADV_DONTNEED to actually
> discard RAM pages inserted into the balloon. This is basically a Linux
> only interface (MADV_DONTNEED exists on some other platforms, but doesn't
> always have the same semantics).
For some pci device, even its PCI_INTERRUPT_PIN is not 0, it actually
doesn't support INTx mode, so its machine irq read from host sysfs is 0.
In that case, report PCI_INTERRUPT_PIN as 0 to guest and let passthrough
continue.
Cc: Roger Pau Monné
Cc: Jan Beulich
Reviewed-by: Roger Pau Monné
Sign
Marc-André Lureau writes:
> Chardev backends may not handle safely IO events from concurrent
> threads (they are not thread-safe in general, only the write path is
Suggest "may not handle I/O events from concurrent threads safely".
> since commit > 9005b2a7589540a3733b3abdcfbccfe7746cd1a1). Bet
Eric Blake writes:
> On 12/4/18 11:25 AM, Markus Armbruster wrote:
>> Clean up includes so that osdep.h is included first and headers
>> which it implies are not included manually.
>>
>> This commit was created with scripts/clean-includes, with the changes
>> to the following files manually rever
On 04.12.2018 14:49, Christian Borntraeger wrote:
>
>
> On 04.12.2018 14:46, Christian Borntraeger wrote:
>> FWIW, this testcase fails with current qemu master on s390:
>>
>> QEMU --
>> "/home/cborntra/REPOS/qemu/build/tests/qemu-iotests/../../s390x-softmmu/qemu-system-s390x"
>> -nodef
On 04.12.18 23:18, Collin Walling wrote:
> Add migration and reset support for diagnose 318. This is a new z14 GA2
> hardware feature, but we can provide guest support starting with the
> zEC12-full CPU model.
>
> Because new hardware introduces a new facility-availability byte in
> the Read SC
On 05.12.2018 09:26, David Hildenbrand wrote:
> On 04.12.18 23:18, Collin Walling wrote:
>> Add migration and reset support for diagnose 318. This is a new z14 GA2
>> hardware feature, but we can provide guest support starting with the
>> zEC12-full CPU model.
>>
>> Because new hardware introdu
You should clearly review your email list.
Adding the "new" Conny, removing Carsten.
On 04.12.2018 23:18, Collin Walling wrote:
> Add migration and reset support for diagnose 318. This is a new z14 GA2
> hardware feature, but we can provide guest support starting with the
> zEC12-full CPU
On Tue, 4 Dec 2018 12:56:21 -0700
Alex Williamson wrote:
> On Tue, 4 Dec 2018 19:29:25 +
> Peter Maydell wrote:
>
> > On Tue, 4 Dec 2018 at 19:26, Alex Williamson
> > wrote:
> > >
> > > On Tue, 4 Dec 2018 20:16:44 +0100
> > > Christian Borntraeger wrote:
> > >
> > > > I think Conny
Marc-André Lureau writes:
> The feature should be set if the chardev is able to switch
> GMainContext. Callers that want to put a chardev in a different thread
> context can/should check this capability. Otherwise, print an
> error (arguably, it may assert instead).
Really? I think you do asser
On Wed, Dec 5, 2018 at 12:21 PM Markus Armbruster wrote:
>
> Marc-André Lureau writes:
>
> > Chardev backends may not handle safely IO events from concurrent
> > threads (they are not thread-safe in general, only the write path is
>
> Suggest "may not handle I/O events from concurrent threads saf
"-machine pc" will not work all architectures. Lets fall back to the
default machine by not specifying it.
In addition we also need to specify -no-shutdown on s390 as qemu will
exit otherwise.
Signed-off-by: Christian Borntraeger
---
tests/qemu-iotests/235 | 4 +++-
1 file changed, 3 insertions
Marc-André Lureau writes:
> Not all backends are able to switch gcontext. Those backends cannot
> drive a OOB monitor (the monitor would then be blocking on main
> thread).
>
> For example, ringbuf, spice, or more esoteric input chardevs like
> braille or MUX.
>
> We currently forbid MUX because
Marc-André Lureau writes:
> monitor_cleanup() is one of the last things main() calls before it
> returns. In the following patch, monitor_cleanup() will release the
> monitor_lock during flushing. There may be pending commands to insert
> new monitors, which would modify the mon_list during iter
Am 05.12.2018 um 09:23 hat Christian Borntraeger geschrieben:
> >>> +# prepare source image
> >>> +qemu_img_create('-f', iotests.imgfmt, '-o', 'preallocation=metadata',
> >>> disk,
> >>> +str(size))
> >>> +
> >>> +vm = QEMUMachine(iotests.qemu_prog)
> >>> +vm.add_args('-machine', '
Marc-André Lureau writes:
> When a monitor is connected to a Spice chardev, the monitor cleanup
> can dead-lock:
>
> #0 0x7f43446637fd in __lll_lock_wait () at /lib64/libpthread.so.0
> #1 0x7f434465ccf4 in pthread_mutex_lock () at /lib64/libpthread.so.0
> #2 0x556dd79f22ba in qe
Hi
On Wed, Dec 5, 2018 at 12:43 PM Markus Armbruster wrote:
>
> Marc-André Lureau writes:
>
> > Not all backends are able to switch gcontext. Those backends cannot
> > drive a OOB monitor (the monitor would then be blocking on main
> > thread).
> >
> > For example, ringbuf, spice, or more esoter
On 05.12.2018 09:46, Kevin Wolf wrote:
> Am 05.12.2018 um 09:23 hat Christian Borntraeger geschrieben:
> +# prepare source image
> +qemu_img_create('-f', iotests.imgfmt, '-o', 'preallocation=metadata',
> disk,
> +str(size))
> +
> +vm = QEMUMachine(iotests
Alex Williamson writes:
> Create properties to be able to define speeds and widths for PCIe
> links. The only tricky bit here is that our get and set callbacks
> translate from the fixed QAPI automagic enums to those we define
> in PCI code to represent the actual register segment value.
QAPI c
Marc-André Lureau writes:
> Hi
>
> On Wed, Dec 5, 2018 at 12:43 PM Markus Armbruster wrote:
>>
>> Marc-André Lureau writes:
>>
>> > Not all backends are able to switch gcontext. Those backends cannot
>> > drive a OOB monitor (the monitor would then be blocking on main
>> > thread).
>> >
>> > Fo
On Tue, 4 Dec 2018 18:25:35 +0100
Markus Armbruster wrote:
> Clean up includes so that osdep.h is included first and headers
> which it implies are not included manually.
>
> This commit was created with scripts/clean-includes, with the changes
> to the following files manually reverted:
>
>
On Mon, Nov 05, 2018 at 04:08:12PM +0800, Zhang Yi wrote:
> diff --git a/util/oslib-posix.c b/util/oslib-posix.c
> index fbd0dc8..c28869d 100644
> --- a/util/oslib-posix.c
> +++ b/util/oslib-posix.c
> @@ -203,7 +203,9 @@ void *qemu_memalign(size_t alignment, size_t size)
> void *qemu_anon_ram_allo
On Mon, Nov 05, 2018 at 04:29:20PM +0800, Zhang Yi wrote:
> diff --git a/include/standard-headers/linux/mman.h
> b/include/standard-headers/linux/mman.h
> new file mode 100644
> index 000..ea1fc47
> --- /dev/null
> +++ b/include/standard-headers/linux/mman.h
include/standard-headers/ contains
Since root and downstream port have only one slot, device should be
connected to them using slot 0. QEMU doesn't have a check for that
and starts up when a non-zero slot is specified, though the device
is not seen in guest OS.
The change fixes that by adding a check in PCI device "attr" property
s
On Mon, Nov 05, 2018 at 04:29:30PM +0800, Zhang Yi wrote:
> diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c
> index f411df7..fe9303f 100644
> --- a/util/mmap-alloc.c
> +++ b/util/mmap-alloc.c
> @@ -111,6 +111,10 @@ void *qemu_ram_mmap(int fd, size_t size, size_t align,
> uint32_t flags)
>
On Fri, 16 Nov 2018 at 00:05, Peter Maydell wrote:
>
> On 19 October 2018 at 09:55, Hongbo Zhang wrote:
> > For the Aarch64, there is one machine 'virt', it is primarily meant to
> > run on KVM and execute virtualization workloads, but we need an
> > environment as faithful as possible to physica
On Tue, Dec 04, 2018 at 06:25:35PM +0100, Markus Armbruster wrote:
> Clean up includes so that osdep.h is included first and headers
> which it implies are not included manually.
>
> This commit was created with scripts/clean-includes, with the changes
> to the following files manually reverted:
>
On Mon, Nov 05, 2018 at 04:07:50PM +0800, Zhang Yi wrote:
> Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to
> guarantee the write persistence to mmap'ed files supporting DAX (e.g.,
> files on ext4/xfs file system mounted with '-o dax').
>
Hi,
There are a lot of people on CC s
On Tue, Nov 06, 2018 at 12:52:32PM +0800, Dongli Zhang wrote:
> The initial value of nalloc is -1, but not 1.
>
> Signed-off-by: Dongli Zhang
> ---
> This is based on git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git
> tags/for_upstream
>
> hw/block/virtio-blk.c | 2 +-
> 1 file changed, 1 in
Emilio G. Cota writes:
> Performance results for fp-bench:
>
> 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> - before:
> mul-single: 126.91 MFlops
> mul-double: 118.28 MFlops
> - after:
> mul-single: 258.02 MFlops
> mul-double: 197.96 MFlops
>
> 2. ARM Aarch64 A57 @ 2.4GHz
> - before:
> mul-sin
Emilio G. Cota writes:
> Performance results for fp-bench:
>
> 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> - before:
> div-single: 34.84 MFlops
> div-double: 34.04 MFlops
> - after:
> div-single: 275.23 MFlops
> div-double: 216.38 MFlops
>
> 2. ARM Aarch64 A57 @ 2.4GHz
> - before:
> div-singl
Hi Michael
I cooked a draft with cp_portable to import bootparam.h, could you have a look.
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 0a964fe..1beeceb 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -44,6 +44,12 @@ c
On Wed, Dec 05, 2018 at 05:50:23PM +0800, Hongbo Zhang wrote:
> > > +static
> > > +void sbsa_ref_machine_done(Notifier *notifier, void *data)
> > > +{
> > > +VirtMachineState *vms = container_of(notifier, VirtMachineState,
> > > + machine_done);
> > > +
On Wed, 05 Dec 2018 09:07:13 +0100
Markus Armbruster wrote:
> > On 12/4/18 11:25 AM, Markus Armbruster wrote:
> >> Clean up includes so that osdep.h is included first and headers
> >> which it implies are not included manually.
> >>
> >> This commit was created with scripts/clean-includes, with
On Tue, 4 Dec 2018 18:25:35 +0100
Markus Armbruster wrote:
> Clean up includes so that osdep.h is included first and headers
> which it implies are not included manually.
>
> This commit was created with scripts/clean-includes, with the changes
> to the following files manually reverted:
>
>
This series improves the QMP SHUTDOWN and RESET events by adding
the ShutdownCause as additional parameter and splitting
the HOST_QMP reason into HOST_QMP_QUIT and HOST_QMP_SYSTEM_RESET
to be able to detect the difference between them when using '--no-reboot'
this is an alternative to my previous
This makes it possible to determine what the exact reason was for
a RESET or a SHUTDOWN. A management layer might need the specific reason
of those events to determine which cleanups or other actions it needs to do.
This patch also updates the iotests to the new expected output that includes
the r
Needed so the patch after next can add ShutdownCause to QMP events
SHUTDOWN and RESET.
Signed-off-by: Dominik Csapak
---
include/sysemu/sysemu.h | 20
qapi/run-state.json | 34 ++
2 files changed, 34 insertions(+), 20 deletions(-)
diff --
It is interesting to know whether the shutdown cause was 'quit' or
'reset', especially when using "--no-reboot". In that case, a management
layer can now determine if the guest wanted a reboot or shutdown, and
can act accordingly.
Changes the output of the reason in the iotests from 'host-qmp' to
On Tue, 4 Dec 2018 17:26:36 -0500
Collin Walling wrote:
> I screen-scraped the @ibm address again (Conny was the victim this time)
>
> Reply to this thread to avoid any delivery failures.
>
> On 12/4/18 5:18 PM, Collin Walling wrote:
> > Add migration and reset support for diagnose 318. This is
> On Dec 4, 2018, at 2:10 PM, qemu-devel-requ...@nongnu.org wrote:
>
> Emilio G. Cota writes:
>
>> On Tue, Dec 04, 2018 at 13:52:16 +, Alex Benn?e wrote:
We could always
#ifdef __FAST_MATH__
#error "Silliness like this will get you nowhere"
#endif
>>>
>>> Emilio,
As per https://www.qemu.org/contribute/report-a-bug/ could you please
provide:
- the command line you are using
- details about the guest you are running (or test case)
** Tags added: arm
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed
** Tags added: defaults
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1801933
Title:
default memory parameter too small on x86_64 today
Status in QEMU:
New
Bug description:
Launching a centos
** Tags added: qemu-img
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1806196
Title:
qed leaked clusters
Status in QEMU:
New
Bug description:
There are examples of two QED files which AFAIK d
** Tags removed: linux user-static
** Tags added: linux-user
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1805913
Title:
readdir() returns NULL (errno=EOVERFLOW) for 32-bit user-static qemu
on 6
** Tags added: gdbstub
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1364501
Title:
Gdb hangs when trying to single-step after an invalid instruction
Status in QEMU:
Triaged
Bug description:
** Tags added: qemu-img
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1805256
Title:
qemu-img hangs on high core count ARM system
Status in QEMU:
New
Bug description:
On the HiSilicon D06 sys
IMHO, if achieving ease of use comparable to VirtualBox is your
benchmark target, then launching QEMU directly is really the wrong way
to approach things. QEMU is a very low level piece of infrastructure not
a complete end user desktop solution. For that it is better to look at
using an application
On Wed, Dec 05, 2018 at 02:58:30AM -0500, Zhao Yan wrote:
> For some pci device, even its PCI_INTERRUPT_PIN is not 0, it actually
> doesn't support INTx mode, so its machine irq read from host sysfs is 0.
> In that case, report PCI_INTERRUPT_PIN as 0 to guest and let passthrough
> continue.
>
> Cc
** Tags added: mips
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1804678
Title:
qemu-3.1.0-rc0: mips emulation hangs when executing invalid
instructions
Status in QEMU:
New
Bug description:
** Tags added: tcg
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1803160
Title:
qemu-3.1.0-rc0: tcg.c crash in temp_load
Status in QEMU:
New
Bug description:
QEMU version:
-
Could it be related to:
commit 17ec075a651a3f9613429c2d97018fce459ed943
Author: Eric Auger
Date: Fri Jun 22 13:28:37 2018 +0100
hw/arm/virt: Use 256MB ECAM region by default
With this patch, virt-3.0 machine uses a new 256MB ECAM region
by default instead of the legacy 16MB one, i
** Tags added: ipxe
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1801073
Title:
util/zbin.c:390:37: error: absolute value function 'abs' given an
argument of type 'long int' but has parameter of
On Wed, 5 Dec 2018 09:27:44 +0100
Christian Borntraeger wrote:
> On 05.12.2018 09:26, David Hildenbrand wrote:
> > On 04.12.18 23:18, Collin Walling wrote:
> >> Add migration and reset support for diagnose 318. This is a new z14 GA2
> >> hardware feature, but we can provide guest support start
On 05.12.18 12:54, Cornelia Huck wrote:
> On Wed, 5 Dec 2018 09:27:44 +0100
> Christian Borntraeger wrote:
>
>> On 05.12.2018 09:26, David Hildenbrand wrote:
>>> On 04.12.18 23:18, Collin Walling wrote:
Add migration and reset support for diagnose 318. This is a new z14 GA2
hardware
05.12.2018 12:01, Christian Borntraeger wrote:
>
>
> On 05.12.2018 09:46, Kevin Wolf wrote:
>> Am 05.12.2018 um 09:23 hat Christian Borntraeger geschrieben:
>> +# prepare source image
>> +qemu_img_create('-f', iotests.imgfmt, '-o', 'preallocation=metadata',
>> disk,
>> +
> -Original Message-
> From: Anthony PERARD [mailto:anthony.per...@citrix.com]
> Sent: 29 November 2018 18:49
> To: Paul Durrant
> Cc: qemu-bl...@nongnu.org; qemu-devel@nongnu.org; xen-
> de...@lists.xenproject.org; Stefano Stabellini ;
> Kevin Wolf ; Max Reitz
> Subject: Re: [PATCH 04/18
On Tue, Dec 4, 2018 at 11:45 PM Maran Wilson wrote:
>
> On 12/3/2018 8:35 AM, Stefano Garzarella wrote:
> > On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford
> > wrote:
> >> Hi Stefano, thanks for capturing all these numbers,
> >>
> >> On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote:
> >>>
Emilio G. Cota writes:
> Performance results for fp-bench:
>
> 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> - before:
> fma-single: 74.73 MFlops
> fma-double: 74.54 MFlops
> - after:
> fma-single: 203.37 MFlops
> fma-double: 169.37 MFlops
>
> 2. ARM Aarch64 A57 @ 2.4GHz
> - before:
> fma-singl
Dominik Csapak writes:
> This series improves the QMP SHUTDOWN and RESET events by adding
> the ShutdownCause as additional parameter and splitting
> the HOST_QMP reason into HOST_QMP_QUIT and HOST_QMP_SYSTEM_RESET
> to be able to detect the difference between them when using '--no-reboot'
>
> th
Hi Stefano,
On 3/12/18 17:35, Stefano Garzarella wrote:
> On Mon, Dec 3, 2018 at 4:44 PM Rob Bradford wrote:
>>
>> Hi Stefano, thanks for capturing all these numbers,
>>
>> On Mon, 2018-12-03 at 15:27 +0100, Stefano Garzarella wrote:
>>> Hi Rob,
>>> I continued to investigate the boot time, and a
* Eric Blake (ebl...@redhat.com) wrote:
> On 12/3/18 1:48 PM, Markus Armbruster wrote:
> > Eric Blake writes:
> >
> > > On 12/3/18 10:30 AM, Max Reitz wrote:
> > > > Hi,
> > > >
> > > > QMP accepts double keys in dicts without complaining. The value it is
> > > > using is apparently the last on
At the time, the "drained section" doesn't protect Block Driver State
from the requests appearing in the vCPU threads.
This could lead to the data loss because of request coming to
an unexpected BDS.
For example, when a request comes to ide controller from the guest,
the controller creates a reque
Emilio G. Cota writes:
> Performance results for fp-bench:
>
> Host: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> - before:
> sqrt-single: 42.30 MFlops
> sqrt-double: 22.97 MFlops
> - after:
> sqrt-single: 311.42 MFlops
> sqrt-double: 311.08 MFlops
>
> Here USE_FP makes a huge difference for f64'
On 05/12/18 06:35, Thomas Huth wrote:
> On 2018-12-04 17:55, Gonzo FWS wrote:
>> Right now IncludeOS on x86_64 must use a chainloader for multiboot
>> support. The chainloader is an ELF32 kernel that loads the real
>> ELF64 kernel and jumps to it. As long as the ELF has the .multiboot
>> section an
On Thu, Oct 04, 2018 at 13:34:12 +0200, Peter Krempa wrote:
> On Tue, Sep 04, 2018 at 09:03:10 +0200, Peter Krempa wrote:
> > The files have a json suffix but look terrible with json syntax
> > hilighting enabled. Add a magic modeline for vim to switch to python
> > file format for hilighting simil
Yeah it seems to be. Windows boots fine after I disable hi ECAM region.
---Original---
From: "Alex Bennée"
Date: 2018/12/5 19:41:40
To: "driver1998";
Subject: [Bug 1804961] Re: qemu-system-aarch64: Windows 10 ARM64 BSoD on boot
while using virt-3.0
Could it be related to:
commit 17ec075a651
Can you please re-test on the current master, I think this was fixed by:
commit e84fcd7f662a0d8198703f6f89416d7ac2c32767
Author: Richard Henderson
Date: Tue Nov 13 20:35:10 2018 +0100
target/i386: Generate #UD when applying LOCK to a register
destination
Testing on my box:
12:14:20 [alex
Emilio G. Cota writes:
> Performance results for fp-bench:
>
> Host: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
> - before:
> cmp-single: 110.98 MFlops
> cmp-double: 107.12 MFlops
> - after:
> cmp-single: 506.28 MFlops
> cmp-double: 524.77 MFlops
>
> Note that flattening both eq and eq_signaling
On 05.12.2018 13:00, Vladimir Sementsov-Ogievskiy wrote:
> 05.12.2018 12:01, Christian Borntraeger wrote:
>>
>>
>> On 05.12.2018 09:46, Kevin Wolf wrote:
>>> Am 05.12.2018 um 09:23 hat Christian Borntraeger geschrieben:
>>> +# prepare source image
>>> +qemu_img_create('-f', iotests.imgfm
Looks ready except for a few commit message tweaks and the proposed
assertion tweak in 3/6.
Emilio G. Cota writes:
> v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02793.html
>
> Changes since v5:
>
> - Rebase on rth/tcg-next-for-4.0
Awesome work - the series is looking really good now and I think we are
ready for a merge once the tree re-opens. I think there were a fe
Hi Alex,
On 12/4/18 5:26 PM, Alex Williamson wrote:
> Create properties to be able to define speeds and widths for PCIe
> links. The only tricky bit here is that our get and set callbacks
> translate from the fixed QAPI automagic enums to those we define
> in PCI code to represent the actual regi
> -Original Message-
> From: Qemu-devel [mailto:qemu-devel-
> bounces+paul.durrant=citrix@nongnu.org] On Behalf Of Paul Durrant
> Sent: 05 December 2018 12:05
> To: Anthony Perard
> Cc: Kevin Wolf ; Stefano Stabellini
> ; qemu-bl...@nongnu.org; qemu-devel@nongnu.org;
> Max Reitz ; xen-
Could you please write, what is the behavior change and why here?
Is it a bug, that FUA was not inherited before?
03.12.2018 13:14, Anton Nefedov wrote:
> Signed-off-by: Anton Nefedov
> ---
> block/mirror.c | 8 ++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/bloc
Given I've spent a fair amount of time around this code now I'm
putting myself forward as a maintainer. Also given that the code has
been extensively re-written and has testing and new incoming features
it's probably more than just Odd Fixes.
Signed-off-by: Alex Bennée
---
MAINTAINERS | 4 +++-
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
Makefile.target |3 +++
default-configs/i386-softmmu.mak |1 +
include/exec/windbgstub-utils.h | 18 ++
include/exec/windbgstub.h| 17 +
stubs/Makefile.objs
Add definition of the WindbgState struct and its initialization.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/windbgstub.c b/windbgstub.c
index 4673703b66..b073cc6a3f 100644
Define addresses that must be found on loading stage.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 48 +-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/target/i386/windbgstub.c b/targe
An update of:
v1: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg06222.html
We made the debugger module WinDbg (like GDB) for QEMU. This is the replacement
of the remote server in Windows kernel. Used for remote Windows kernel debugging
without debugging mode.
WinDbg is a multi
Header file from windbg's source code describing the main structures.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgkd.h | 928 +++
include/exec/windbgstub-utils.h |1
2 files changed, 929 insertions(+)
c
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/windbgstub.c b/windbgstub.c
index fe0b007a06..f13c9a6c1e 100644
--- a/windbgstub.c
+++ b/windbgstub.c
@@ -91,7
Add parsing data stream to packets from windbg client.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h | 11 +++
windbgstub.c| 139 +++
2 files changed, 150 insertions(+)
diff --git a/
Add some helper features for windbgstub.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h | 40 +++
include/exec/windbgstub.h |6 +++
windbgstub-utils.c | 83 +++
3 f
This option starts windbg server.
Signed-off-by: Mikhail Abakumov
Acked-by: Alistair Francis
Signed-off-by: Pavel Dovgalyuk
---
qemu-options.hx |8
vl.c|8
2 files changed, 16 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index f7df472f43..
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/windbgstub.c b/windbgstub.c
index f13c9a6c1e..8cbece40da 100644
--- a/windbgstub.c
+++ b/windbgstub.c
@@ -134,8 +134,35 @@ static voi
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 59 ++
1 file changed, 59 insertions(+)
diff --git a/windbgstub.c b/windbgstub.c
index 2869d94389..c45faec43f 100644
--- a/windbgstub.c
+++ b/windbgstub.c
Insert hook to wrmsr operation. Windows kernel put address on KPCR struct
to fs/gs (x32/x64) register. Needs catch this moment and allow windbgstub
handle packets from client.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h |3 +++
include/
Add chardev for listening to windbg client. Target device is a parameter
in the '-windbg' option.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/windbgstub.c b/windbgstub.c
in
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h |2 ++
windbgstub-utils.c |7 +++
windbgstub.c| 27 +++
3 files changed, 36 insertions(+)
diff --git a/include/exec/windbgstu
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
windbgstub.c | 54 +-
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/windbgstub.c b/windbgstub.c
index c45faec43f..fe0b007a06 100644
--- a/windbgstub.c
+++ b/wi
It is necessary to find address on the structure kdDebuggerDataBlock,
which is located somewhere at kernel .data section.
We can find it in structure defined in kernel:
typedef struct _DBGKD_DEBUG_DATA_HEADER
{
LIST_ENTRY64 List;
ULONG OwnerTag;
ULONG Size;
} DBGKD_DEBUG_DATA_HEADER, *
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 32
1 file changed, 32 insertions(+)
diff --git a/target/i386/windbgstub.c b/target/i386/windbgstub.c
index 1c1631d7c1..15a90e521c 100644
--- a/target/i386/windbgstub
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 243 ++
1 file changed, 243 insertions(+)
diff --git a/target/i386/windbgstub.c b/target/i386/windbgstub.c
index 37c5805818..5d47d5c9e9 100644
--- a/target/
Add function for init DBGKD_ANY_WAIT_STATE_CHANGE. It is a header of
'state change' packets.
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 45 +
1 file changed, 45 insertions(+)
diff --git a/target/i3
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h |2 +
target/i386/windbgstub.c| 90 ---
windbgstub.c|8 +++
3 files changed, 93 insertions(+), 7 deletions(-)
diff --git a
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/target/i386/windbgstub.c b/target/i386/windbgstub.c
index 15a90e521c..dc58f5a8cc 100644
--- a/target/i386/windbgstub.c
+++ b/target/i386/
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
target/i386/windbgstub.c | 374 ++
1 file changed, 372 insertions(+), 2 deletions(-)
diff --git a/target/i386/windbgstub.c b/target/i386/windbgstub.c
index e2ed2b3105..7a091e1dee 1006
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h |2 ++
windbgstub-utils.c | 47 +++
windbgstub.c|8 +++
3 files changed, 57 insertions(+)
diff --git a/include/ex
Signed-off-by: Mikhail Abakumov
Signed-off-by: Pavel Dovgalyuk
---
include/exec/windbgstub-utils.h |3 ++
windbgstub-utils.c | 68 +++
windbgstub.c| 12 +++
3 files changed, 83 insertions(+)
diff --git a/include/ex
1 - 100 of 386 matches
Mail list logo