John Snow writes:
> If a negative integer is used for the max_bytes parameter, QEMU currently
> calls abort() and leaves behind a core dump. This patch adds a simple
> error message to make the reason for the termination clearer.
>
> Signed-off-by: John Snow
> ---
> v2: Changed 0L constant to (u
Am 18.07.2014 00:22, schrieb Mark Cave-Ayland:
On 17/07/14 07:43, Dennis Luehring wrote:
> Am 16.07.2014 00:21, schrieb Mark Cave-Ayland:
>> At the moment my work is focused on getting the basic system emulation
>> up and running, so I haven't spent much time looking at the graphics
>> side at a
On Fri, Jul 18, 2014 at 11:11:31AM +0800, Fam Zheng wrote:
> On Thu, 07/17 19:50, Liu Yuan wrote:
> > - allow drive-mirror to create sprase mirror on images like qcow2
> > - allow qemu-img map to work as expected on quorum driver
> >
> > Cc: Benoit Canet
> > Cc: Kevin Wolf
> > Cc: Stefan Hajnocz
Applied to -trivial, thank you!
/mjt
Applied to -trivial, thank you!
/mjt
Applied to -trivial, thank you!
/mjt
Applied to -trivial, thank you!
/mjt
10.07.2014 18:01, Gernot Hillier wrote:
>
> Since QEMU 0.15, slirp (user mode networking) supports ping to the
> Internet, see e6d43cfb1f9
Applied to the trivial tree, after removing an extra empty line and
rewording the last part to be "To allow ping for GID 100 (usually
users group)", because n
08.07.2014 15:39, Peter Maydell wrote:
> On 26 June 2014 13:35, Peter Maydell wrote:
>> On 16 June 2014 16:47, Peter Maydell wrote:
>>> If the user specified a (vlan ID, slirp stack name) tuple in a monitor
>>> hostfwd_add/remove command and we can't find it, give the user an
>>> error message ra
It may prove useful know which Linux distribution version the host machine
is running when an issue in the guest arises but a user cannot access
the host.
Signed-off-by: Cyril Bur
---
hw/ppc/spapr.c | 8 +++
target-ppc/kvm.c | 62 +++
On Thu, 07/17 19:50, Liu Yuan wrote:
> - allow drive-mirror to create sprase mirror on images like qcow2
> - allow qemu-img map to work as expected on quorum driver
>
> Cc: Benoit Canet
> Cc: Kevin Wolf
> Cc: Stefan Hajnoczi
> Signed-off-by: Liu Yuan
> ---
> block/quorum.c | 16 ++
>> I run savevm by qemu-monitor, but how to check if savevm is completed? I
>> haven't find the query interface.
>
>That is because savevm is synchronous. It blocks until the operation is
>complete. You cannot use the QEMU monitor while savevm is executing.
>
So, only the asynchronous operations
Hi Anshul,
On 07/18/2014 12:24 AM, Anshul Makkar wrote:
> Are we not going to introduce new command cpu_del for deleting the cpu ?
>
> I couldn't find any patch for addition of cpu_del command. Is this
> intentional and we intend to use device_del (and similarly device_add)
> for cpu hot(un)plug
> -Original Message-
> From: Gonglei (Arei)
> Sent: Friday, July 18, 2014 9:32 AM
> To: 'Paolo Bonzini'; qemu-devel@nongnu.org
> Cc: Huangweidong (C); Luonengjun
> Subject: RE: [PATCH for-2.1] scsi: fix scsi disk symbol confusion in guest os
>
> Hi,
>
> > -Original Message-
> > Fr
Hi,
> -Original Message-
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> Sent: Thursday, July 17, 2014 9:45 PM
> To: Gonglei (Arei); qemu-devel@nongnu.org
> Cc: Huangweidong (C); Luonengjun
> Subject: Re: [PATCH for-2.1] scsi: fix scsi disk symbol confusion in guest os
>
> Il 17/07/2
From: Nikolay Nikolaev
Mising G_TIME_SPAN_SECOND definition breaks the RHEL6 compilation as GLib
version before 2.26 does not have it. In such case just define it.
Reported-by: Kevin Wolf
Signed-off-by: Nikolay Nikolaev
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
t
From: Nikolay Nikolaev
qemu_get_ram_fd doesn't accept a guest physical address. ram_addr_t are
opaque values that are assigned in qemu_ram_alloc.
Find the ram_addr_t corresponding to the userspace_addr using
qemu_ram_addr_from_host,
and then call qemu_get_ram_fd on it.
Thanks to Paolo Bonzini
From: Igor Mammedov
If machine doesn't support memory hotplug then staring QEMU
with initial memory less than default will make QEMU exit with
following error message:
$QEMU -m 16 -M isapc
qemu-system-i386: "-memory 'slots|maxmem'" is not supported by: isapc
Set maxram_size to initial memory v
assert to verify cast does not discard information
minor style fixup.
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/vhost-user.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
index 3d23218..4e88d9c 100644
--- a/hw/virtio/
From: Hu Tao
Signed-off-by: Hu Tao
Reviewed-by: Andreas Färber
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
MST: rebase
---
hw/acpi/ich9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index e7d6c77..7b14bbb 1006
On Wed, Jul 16, 2014 at 11:59:58AM -0400, Rich Felker wrote:
> On Wed, Jul 16, 2014 at 09:36:23AM +0100, Peter Maydell wrote:
> > On 16 July 2014 05:02, Rich Felker wrote:
> > > The qemu-microblaze definition of struct stat64 seems to mismatch the
> > > kernel definition, which is using asm-generi
From: Eduardo Habkost
pc-0.13 and older were missing some compat code that was present on
newer machine-types:
* x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC);
(pc-i440fx-1.7 and older)
(added by commit ef02ef5f4536dba090b12360a6c862ef0e57e3bc)
* x86_cpu_compat_set_featur
assert to verify cast does not discard information
minor style fixup.
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/vhost-user.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
index 3d23218..4e88d9c 100644
--- a/hw/virtio/
From: Nikolay Nikolaev
A new field mmap_offset was added in the vhost-user message, we need to reflect
this change in the test too.
Signed-off-by: Nikolay Nikolaev
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/vhost-user-test.c | 11 +--
1 file changed,
Resending.
v1 has exactly the same patches but had the wrong text in the tag.
Sorry about that.
The following changes since commit 3f0838ab8557c6071a5931183b2d7fed568cd35c:
qemu-char: add chr_add_watch support in mux chardev (2014-07-06 09:13:54
+0300)
are available in the git repository at:
From: Eduardo Habkost
pc-0.13 and older were missing some compat code that was present on
newer machine-types:
* x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC);
(pc-i440fx-1.7 and older)
(added by commit ef02ef5f4536dba090b12360a6c862ef0e57e3bc)
* x86_cpu_compat_set_featur
From: Nikolay Nikolaev
A new field mmap_offset was added in the vhost-user message, we need to reflect
this change in the test too.
Signed-off-by: Nikolay Nikolaev
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/vhost-user-test.c | 11 +--
1 file changed,
From: Hu Tao
Signed-off-by: Hu Tao
Reviewed-by: Andreas Färber
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
MST: rebase
---
hw/acpi/ich9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index e7d6c77..7b14bbb 1006
From: Igor Mammedov
If machine doesn't support memory hotplug then staring QEMU
with initial memory less than default will make QEMU exit with
following error message:
$QEMU -m 16 -M isapc
qemu-system-i386: "-memory 'slots|maxmem'" is not supported by: isapc
Set maxram_size to initial memory v
From: Nikolay Nikolaev
qemu_get_ram_fd doesn't accept a guest physical address. ram_addr_t are
opaque values that are assigned in qemu_ram_alloc.
Find the ram_addr_t corresponding to the userspace_addr using
qemu_ram_addr_from_host,
and then call qemu_get_ram_fd on it.
Thanks to Paolo Bonzini
The following changes since commit 3f0838ab8557c6071a5931183b2d7fed568cd35c:
qemu-char: add chr_add_watch support in mux chardev (2014-07-06 09:13:54
+0300)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream
for you to fetch changes
From: Nikolay Nikolaev
Mising G_TIME_SPAN_SECOND definition breaks the RHEL6 compilation as GLib
version before 2.26 does not have it. In such case just define it.
Reported-by: Kevin Wolf
Signed-off-by: Nikolay Nikolaev
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
t
On 17/07/14 07:43, Dennis Luehring wrote:
Am 16.07.2014 00:21, schrieb Mark Cave-Ayland:
At the moment my work is focused on getting the basic system emulation
up and running, so I haven't spent much time looking at the graphics
side at all.
I have noticed that the kernel falls back to the dum
yes, I found the way, we can reboot from original virtual disk via pick
boot from existing disk img.
Best,
Yuanzhen
On Thu, Jul 17, 2014 at 5:31 PM, Eric Blake wrote:
> On 07/17/2014 03:15 PM, Yuanzhen Gu wrote:
> > Hello there,
> >
> > I take external disk-only snapshot, but deleted the snaps
I see, thank you very much, Eric!
Best,
Yuanzhen
On Thu, Jul 17, 2014 at 5:26 PM, Eric Blake wrote:
> On 07/17/2014 02:20 PM, Yuanzhen Gu wrote:
> > Hi Eric,
>
> [please don't top-post on technical lists]
>
> > I enabled libvirt debugging, and saw the log file under
> > /var/log/libvirt/libvir
On 07/17/2014 03:15 PM, Yuanzhen Gu wrote:
> Hello there,
>
> I take external disk-only snapshot, but deleted the snapshot by mistaken.
> Is there anyway to reboot the system from backing file instead of
> reinstalled the system again? thanks!
Are you using libvirt? If so, this question is better
On 07/17/2014 02:20 PM, Yuanzhen Gu wrote:
> Hi Eric,
[please don't top-post on technical lists]
> I enabled libvirt debugging, and saw the log file under
> /var/log/libvirt/libvirtd.log,
Which debugging filters did you enable? In particular, you'll want to
turn on LIBVIRT_LOG_FILTERS="1:qemu" f
Hello there,
I take external disk-only snapshot, but deleted the snapshot by mistaken.
Is there anyway to reboot the system from backing file instead of
reinstalled the system again? thanks!
Best,
Yuanzhen
If a negative integer is used for the max_bytes parameter, QEMU currently
calls abort() and leaves behind a core dump. This patch adds a simple
error message to make the reason for the termination clearer.
Signed-off-by: John Snow
---
v2: Changed 0L constant to (uint64_t)0 constant to match PRId6
On Thu, Jul 17, 2014 at 5:25 PM, Marcin Gibuła wrote:
>>> 2.1-rc2 behaves exactly the same.
>>>
>>> Interestingly enough, reseting guest system causes I/O to work again. So
>>> it's not qemu that hangs on IO, rather it fails to notify guest about
>>> completed operations that were issued during mi
W dniu 2014-07-17 21:18, Dr. David Alan Gilbert pisze:
I don't know if this is the same case, but Gerd showed me a migration failure
that might be related. 2.0 seems OK, 2.1-rc0 is broken (and I've not found
another working point in between yet).
The test case involves booting a fedora livecd (
Hi Eric,
Thank you very much for your suggestion, it do help.
I enabled libvirt debugging, and saw the log file under
/var/log/libvirt/libvirtd.log,
for example, I saw
2014-07-17 20:06:55.992+: 4391: debug : qemuProcessHandleResume:575 :
Transitioned guest ubuntu out of paused into resumed s
> That sounds great. Tiejun could you confirm that with windows driver guys too?
I believe windows driver can also assume specific CPU/PCH combos. I will
discuss this with native Windows driver guys. Preferably, the same code path
can be used for both native and virtualization cases to avoid f
* Peter Maydell (peter.mayd...@linaro.org) wrote:
> So we just released rc2. The proposed schedule has
> rc3 next Tuesday, with final release the Tuesday after.
>
> My thought is that we should aim for rc3 to add only
> a fairly small number of focussed and "safe" bugfixes,
> with the intention of
I don't know if this is the same case, but Gerd showed me a migration failure
that might be related. 2.0 seems OK, 2.1-rc0 is broken (and I've not found
another working point in between yet).
The test case involves booting a fedora livecd (using an IDE CDROM device)
and after the migration we're
Am 17.07.2014 20:50, schrieb Stefan Weil:
> Line numbers changed, and some translations were missing after commit
> 3d914488aee3dc1bf495e461aedf8fb4e5bb2270.
>
> Update also "Show Tabs" to a more common translation, and remove some
> old unused lines at the end.
>
> Signed-off-by: Stefan Weil
>
Line numbers changed, and some translations were missing after commit
3d914488aee3dc1bf495e461aedf8fb4e5bb2270.
Update also "Show Tabs" to a more common translation, and remove some
old unused lines at the end.
Signed-off-by: Stefan Weil
---
All other translations also need updates because of m
On Thu, Jul 17, 2014 at 03:28:21PM +0800, Zhang Haoyu wrote:
> I run savevm by qemu-monitor, but how to check if savevm is completed? I
> haven't find the query interface.
That is because savevm is synchronous. It blocks until the operation is
complete. You cannot use the QEMU monitor while sav
On Thu, Jul 17, 2014 at 10:45:31AM +0100, Peter Maydell wrote:
> So we just released rc2. The proposed schedule has
> rc3 next Tuesday, with final release the Tuesday after.
>
> My thought is that we should aim for rc3 to add only
> a fairly small number of focussed and "safe" bugfixes,
> with the
On Thu, Jul 17, 2014 at 11:41:53AM +0200, Kevin Wolf wrote:
> qcow2's report_unsupported_feature() had two bugs: A 32 bit truncation
> would prevent feature table entries for bits 32-63 from being used, and
> it could assign errp multiple times if there was more than one unknown
> feature, resultin
The disk image path is echoed by QEMU's readline when the "drive_backup
disk ${TEST_IMG}.copy" HMP command is issued. Unfortunately it is very
hard to filter out the path due to readline's character-by-character
output (with terminal escape sequences). Just redirect this command to
/dev/null for
Am 17.07.2014 19:56, schrieb Stefan Weil:
> Adding 'update' to the phony targets fixes this error:
>
> $ LANG=C make -C po update
> make: Entering directory `/qemu/po'
> LINK update
> /qemu/po/de_DE.po: file not recognized: File format not recognized
> collect2: error: ld returned 1 exit status
Adding 'update' to the phony targets fixes this error:
$ LANG=C make -C po update
make: Entering directory `/qemu/po'
LINK update
/qemu/po/de_DE.po: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [update] Error 1
make: Leaving directory `/qe
I am trying to get to the bottom of a live migrate failure between qemu 1.0
(sender) and qemu 2.0 (receiver). I think this should 'just work', correct?
What I'm seeing is the live migrate starts correctly through QMP, but the first
query_migrate call returns a failure. On the receive side it say
On Thu, 2014-07-17 at 17:55 +0100, Peter Maydell wrote:
> On 29 June 2014 10:09, Marcel Apfelbaum wrote:
> > Replaced '_' with '-' to comply with QOM guidelines.
> > Made the conversion from HMP to QMP in vl.c
> >
> > Signed-off-by: Marcel Apfelbaum
>
> > index a1686ef..7587c97 100644
> > --- a/
Il 17/07/2014 18:47, Michael Roth ha scritto:
> My argument for getting this into 2.1 had been to avoid tools picking up
> these to-be-renamed property names from the start. At this point, I'm
> not so sure whether it's worse to break management tools or potentially
> some rarely used/tested opti
On 29 June 2014 10:09, Marcel Apfelbaum wrote:
> Replaced '_' with '-' to comply with QOM guidelines.
> Made the conversion from HMP to QMP in vl.c
>
> Signed-off-by: Marcel Apfelbaum
> index a1686ef..7587c97 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -2820,15 +2820,25 @@ static int object_set_proper
On 16 July 2014 08:42, wrote:
> From: KONRAD Frederic
>
> Segfault occurs when there are less than two serial backends with zynq
> platform.
>
> This checks that s->chr is not NULL before using it.
>
> Signed-off-by: KONRAD Frederic
> Reviewed-by: Peter Crosthwaite
> ---
> hw/char/cadence_ua
Quoting Andreas Färber (2014-07-17 10:48:59)
> Am 17.07.2014 16:20, schrieb Paolo Bonzini:
> > Il 17/07/2014 16:15, Marcel Apfelbaum ha scritto:
> >> On Sun, 2014-06-29 at 14:37 +0300, Michael S. Tsirkin wrote:
> >>> On Sun, Jun 29, 2014 at 12:09:15PM +0300, Marcel Apfelbaum wrote:
> Replaced
Are we not going to introduce new command cpu_del for deleting the cpu ?
I couldn't find any patch for addition of cpu_del command. Is this
intentional and we intend to use device_del (and similarly device_add)
for cpu hot(un)plug or just skipped to be added later. I have the
patch for the same wh
Am 17.07.2014 16:20, schrieb Paolo Bonzini:
> Il 17/07/2014 16:15, Marcel Apfelbaum ha scritto:
>> On Sun, 2014-06-29 at 14:37 +0300, Michael S. Tsirkin wrote:
>>> On Sun, Jun 29, 2014 at 12:09:15PM +0300, Marcel Apfelbaum wrote:
Replaced '_' with '-' to comply with QOM guidelines.
Made t
>>> On 7/8/2014 at 07:29 AM, wrote:
> If machine doesn't support memory hotplug then staring QEMU
> with initial memory less than default will make QEMU exit with
> following error message:
>
> $QEMU -m 16 -M isapc
> qemu-system-i386: "-memory 'slots|maxmem'" is not supported by: isapc
>
> Se
>>> On 7/11/2014 at 12:06 PM, wrote:
> On Tue, Jul 08, 2014 at 03:29:46PM +0200, Igor Mammedov wrote:
>> If machine doesn't support memory hotplug then staring QEMU
>> with initial memory less than default will make QEMU exit with
>> following error message:
>>
>> $QEMU -m 16 -M isapc
>> qemu-
Il 17/07/2014 16:15, Marcel Apfelbaum ha scritto:
On Sun, 2014-06-29 at 14:37 +0300, Michael S. Tsirkin wrote:
On Sun, Jun 29, 2014 at 12:09:15PM +0300, Marcel Apfelbaum wrote:
Replaced '_' with '-' to comply with QOM guidelines.
Made the conversion from HMP to QMP in vl.c
Signed-off-by: Marce
On Sun, 2014-06-29 at 14:37 +0300, Michael S. Tsirkin wrote:
> On Sun, Jun 29, 2014 at 12:09:15PM +0300, Marcel Apfelbaum wrote:
> > Replaced '_' with '-' to comply with QOM guidelines.
> > Made the conversion from HMP to QMP in vl.c
> >
> > Signed-off-by: Marcel Apfelbaum
>
> Nothing to do with
This patch adds timer which uses virtual clock to the VMState.
Such timers are required for saving because virtual clock is the part
of the virtual machine state.
Signed-off-by: Pavel Dovgalyuk
---
hw/timer/pl031.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/tim
This patch adds instructions counting into the target-specific part
of arm simulator. In record/replay mode it inserts replay functions
calls and instructions counter increment into the translated code.
Signed-off-by: Pavel Dovgalyuk
---
target-arm/Makefile.objs |1 +
target-arm/helper.h
Clock ticks are considered as the sources of non-deterministic data for
virtual machine. This patch implements saving the clock values when they
are acquired (virtual, host clock, rdtsc, and some other timers).
When replaying the execution corresponding values are read from log and
transfered to th
This patch adds macros for vmstate int8 and char arrays.
Signed-off-by: Pavel Dovgalyuk
---
include/migration/vmstate.h | 13 +
vmstate.c |6 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration
Il 17/07/2014 14:55, arei.gong...@huawei.com ha scritto:
From: Gonglei
Assuming that we hotplug three virtio-scsi disk as follow steps:
1. start vm with virtio-scsi as system disk (guest os: suse11 sp3 ).
2. hotplug disk 1 (as lun2)
-drive
file=/Images/TestImg/kvm-disk-scsi_001,if=none,id=dri
On Do, 2014-07-17 at 14:21 +0100, Stefan Hajnoczi wrote:
> On Tue, Jul 08, 2014 at 02:28:57PM -0400, John Snow wrote:
> > (Resending for correct email addresses via MAINTAINERS ...)
> >
> > In the GTK UI, after changing focus to the qemu monitor Notebook Page,
> > when restoring focus to the virtu
This patch adds instructions count fields to cpu structure and
invents several functions for increasing this counter while executing
translation blocks.
Signed-off-by: Pavel Dovgalyuk
---
cpu-exec.c | 14 -
cpus.c |5 ++
exec.c |4 +
This patch adds 'period' parameter to the 'record' command line option. This
parameters turns on periodic snapshotting of the VM which could be used by
replay to move forward and backward in time.
If 'period' parameter is not specified, only one snapshot is made at the start
of the virtual machine.
This patch adds parameter with suffix for overlay filenames. This parameter
will be used by replay to automatically create overlay files based on
drive images supplied to VM.
Signed-off-by: Pavel Dovgalyuk
---
block.c | 44 ++--
block/blkde
This patch adds functions to perform read and write operations
with replay log.
Signed-off-by: Pavel Dovgalyuk
---
replay/Makefile.objs |1
replay/replay-internal.c | 141 ++
replay/replay-internal.h | 50
replay/replay.c
This patch removes "static" specifier from several qemu function to make
them visible to the replay module. It also invents several system functions
that will be used by replay.
Signed-off-by: Pavel Dovgalyuk
---
arch_init.c |8
cpu-exec.c |6 --
cpu
This patch records and replays simulator shutdown event.
Signed-off-by: Pavel Dovgalyuk
---
include/sysemu/sysemu.h |1 +
replay/replay-internal.h | 13 ++---
replay/replay.c | 11 +++
replay/replay.h |5 +
vl.c |8 ++
This patch introduces functions for recording and replaying realtime sources,
that do not use qemu-clock interface. These include return value of time()
function in time_t and struct tm forms. Patch also adds warning to
get_timedate function to prevent its usage in recording mode, because it may
le
This patch introduces command line options for enabling recording or replaying
virtual machine behavior. "-record" option starts recording of the execution
and saves it into the log, specified with "fname" parameter. "-replay" option
is intended for replaying previously saved log.
Signed-off-by: P
This patch adds identifier to aio requests. ID is used for creating bottom
halves and identifying them while replaying.
The patch also introduces several functions that make possible replaying
of the aio requests.
Signed-off-by: Pavel Dovgalyuk
---
block.c | 79 ++
This patch adds irq_reinject_on_ack_count field to VMState to allow correct
saving/loading the state of MC146818 RTC.
Signed-off-by: Pavel Dovgalyuk
---
hw/timer/mc146818rtc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc
This patch adds interrupt fields to VMState for correct saving the CPU state.
Signed-off-by: Pavel Dovgalyuk
---
target-arm/machine.c |5 -
target-i386/machine.c |5 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/target-arm/machine.c b/target-arm/machine.c
inde
This patch adds global variables, defines, functions declarations,
and function stubs for deterministic VM replay used by external modules.
Signed-off-by: Pavel Dovgalyuk
---
Makefile.target |1 +
replay/Makefile.objs |1 +
replay/replay.c | 19 +++
replay/rep
This patch introduces the functions for enabling the record/replay and for
freeing the resources when simulator closes.
Signed-off-by: Pavel Dovgalyuk
---
exec.c |1
replay/replay-internal.h |2 +
replay/replay.c | 127
This patch introduces bottom half event for replay queue. It saves the events
into the queue and process them at the checkpoints and instructions execution.
Signed-off-by: Pavel Dovgalyuk
---
async.c | 45 +++--
dma-helpers.c
This patch disables raising an irq while loading the state of PCI bridge.
Signed-off-by: Pavel Dovgalyuk
---
hw/pci-host/piix.c | 22 --
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
index e0e0946..86d6d20 100644
---
This patch introduces checkpoints that synchronize cpu thread and iothread.
When checkpoint is met in the code all asynchronous events from the queue
are executed.
Signed-off-by: Pavel Dovgalyuk
---
block.c | 11 +++
cpus.c |2 +-
include/qemu/tim
This patch modifies thread pool to allow replaying asynchronous thread tasks
synchronously in replay mode.
Signed-off-by: Pavel Dovgalyuk
---
block/raw-posix.c |6 +++--
block/raw-win32.c |4 ++-
include/block/thread-pool.h |4 ++-
replay/replay-events.c |
This records user input (keyboard and mouse events) in record mode and replays
these input events in replay mode.
Signed-off-by: Pavel Dovgalyuk
---
include/ui/input.h |2 +
replay/Makefile.objs |1
replay/replay-events.c | 48 +
replay/replay-input.c
This patch adds instructions counting into the target-specific part
of i386/x86_64 simulator. In record/replay mode it inserts replay functions
calls and instructions counter increment into the translated code.
Signed-off-by: Pavel Dovgalyuk
---
target-i386/Makefile.objs |1 +
target-i386/
This patch adds module for saving and replaying asynchronous events.
These events include network packets, keyboard and mouse input,
USB packets, thread pool and bottom halves callbacks.
All events are stored in the queue to be processed at synchronization points
such as beginning of TB execution,
This patch modifies vmstate for PL031 RTC. It removes querying of the rtc
and virtual clocks while saving and restoring VM state, because in replay
mode these clocks are stopped while saving. And reading the clock while
restoring the VM state may lead to read of the incorrect values, because
clocks
This patch resets status field before loading the state of IDE BMDMA device.
Resetting status is needed for replay, because it does not reset whole virtual
machine before loading state of the VM.
Signed-off-by: Pavel Dovgalyuk
---
hw/ide/pci.c | 10 ++
1 files changed, 10 insertions(+)
This patch changes virtual clock to realtime one in vga_draw_text and
vga_update_display functions. Display update process depends on realtime
clock. If we read virtual clock there, virtual machine becomes
non-deterministic, because every read to virtual clock is written to the
replay log.
Signed-
This patch adds deterministic replay for audio adapter. Replay module saves
data from the microphone and "end-of-playback" events.
Support of audio record and replay is implemented only for Win32 hosts.
Signed-off-by: Pavel Dovgalyuk
---
audio/audio.c| 14 ++-
audio/audio_win_int.h
This patch adds calls to update_fp_status() function from several
places where FPU state is changed.
Signed-off-by: Pavel Dovgalyuk
---
target-i386/cpu.c|1 +
target-i386/cpu.h|1 +
target-i386/fpu_helper.c |5 -
target-i386/machine.c|2 +-
4 files changed
This patch fixes resource leak caused by created thread which is not destroyed
at exit.
Signed-off-by: Pavel Dovgalyuk
---
net/tap-win32.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/tap-win32.c b/net/tap-win32.c
index 8aee611..efd1c75 100644
--- a/net/
This patch includes modifications of common cpu files. All interrupts and
exceptions occured during recording are written into the replay log.
These events allow correct replaying the execution by kicking cpu thread
when one of these events is found in the log.
Signed-off-by: Pavel Dovgalyuk
---
This patch adds support for replay_break monitor command. This command
sets the step (measured in executed instructions) where replay should be
stopped.
Signed-off-by: Pavel Dovgalyuk
---
hmp-commands.hx | 14 ++
monitor.c | 15 +++
qapi-schema.json|
This patch introduces support of reverse debugging through the gdb remote
protocol. Patch adds reverse-stepi and reverse-continue commands support
to qemu. Other reverse commands should also work, because they reuse these ones.
Signed-off-by: Pavel Dovgalyuk
---
exec.c |
1 - 100 of 152 matches
Mail list logo