From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpu
From: Sebastian Tanase
Make icount parameter use QemuOpts style options in order
to easily add other suboptions.
Signed-off-by: Sebastian Tanase
Tested-by: Camille Bégué
---
cpus.c| 10 +-
include/qemu-common.h | 3 ++-
qemu-options.hx | 4 ++--
qtest.c
From: KONRAD Frederic
This adds some trace-events for reverse execution.
Signed-off-by: KONRAD Frederic
---
trace-events | 6 ++
1 file changed, 6 insertions(+)
diff --git a/trace-events b/trace-events
index 11a17a8..66f9e08 100644
--- a/trace-events
+++ b/trace-events
@@ -1301,3 +1301,9
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
This fixes a bug where QEMU stall in icount mode.
It happens when a simple timer callback is created on VIRTUAL CLOCK modding
itself regularly.
The actual warping mechanism is called once and then the time didn't grow
anymore.
Signed-off-by: KONRAD Frederic
---
main-loo
From: KONRAD Frederic
This creates QEMU options for reverse execution.
Signed-off-by: KONRAD Frederic
---
qemu-options.hx | 9 +
vl.c| 16
2 files changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ff76ad4..2afb85d 100644
--- a
From: KONRAD Frederic
This allows QEMU to trigger a debug exception when cexe_dbg_requested
is set.
Signed-off-by: KONRAD Frederic
---
cpu-exec.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/cpu-exec.c b/cpu-exec.c
index 38e5f02..c92cfd1 100644
--- a/cpu-exec.c
+++ b/cpu-
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
This adds some trace-events for reverse execution.
Signed-off-by: KONRAD Frederic
---
trace-events | 6 ++
1 file changed, 6 insertions(+)
diff --git a/trace-events b/trace-events
index ba01ad5..c1423e0 100644
--- a/trace-events
+++ b/trace-events
@@ -1292,3 +1292,9
From: KONRAD Frederic
This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
It adds a subsection "timer/icount" to vmstate_timers so icount is migrated only
when needed.
Signed-off-by: KONRAD Frederic
Reviewed-by: Amit Shah
---
cpus.c | 27 +++
1 fi
From: KONRAD Frederic
This introduces a new timer based only on instruction counter and without any
compensation.
Signed-off-by: KONRAD Frederic
---
cpus.c | 19 ---
include/qemu/timer.h | 9 -
qemu-timer.c | 8 +++-
stubs/cpu-get-icoun
From: KONRAD Frederic
We don't want to warp on host clock as it is not deterministic for replay.
So this patch warp icount on the next QEMU_VIRTUAL_CLOCK event if reverse
execution is enabled.
The normal behaviour is kept when reverse execution is disabled.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
Notify events on icount clock when CPU loop exits.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/cpus.c b/cpus.c
index 6bba30b..dc2dc21 100644
--- a/cpus.c
+++ b/cpus.c
@@ -992,6 +992,11 @@ s
From: KONRAD Frederic
This makes qemu_savevm_state public for reverse-execution.
Signed-off-by: KONRAD Frederic
Reviewed-by: Amit Shah
Reviewed-by: Juan Quintela
---
include/sysemu/sysemu.h | 1 +
savevm.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/i
From: KONRAD Frederic
This takes icount clock in account for icount extra computation so icount
clock's timers will be triggered at the exact time.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cpus.c b/cpu
From: KONRAD Frederic
This introduces the basic reverse-execution mechanism.
Signed-off-by: KONRAD Frederic
---
Makefile.target | 1 +
cpus.c | 6 +
include/reverse-execution.h | 41 ++
reverse-execution.c | 306
From: KONRAD Frederic
Hi everybody,
This is the fifth version of this RFC (see the changes below).
Those are the two first patch-set we have been worked on for reverse execution.
The first part is fully reviewed except the "icount: introduce icount timer"
patch maybe we can merge them?
The fi
From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpu
From: KONRAD Frederic
This adds cpu_icount_to_ns function which is needed for reverse execution.
It returns the time for a specific instruction.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 9 +++--
include/qemu/timer.h | 1 +
2 files changed, 8 in
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
This creates QEMU options for reverse execution.
Signed-off-by: KONRAD Frederic
---
qemu-options.hx | 9 +
vl.c| 16
2 files changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ff76ad4..2afb85d 100644
--- a
From: KONRAD Frederic
This adds some trace-events for reverse execution.
Signed-off-by: KONRAD Frederic
---
trace-events | 6 ++
1 file changed, 6 insertions(+)
diff --git a/trace-events b/trace-events
index ba01ad5..c1423e0 100644
--- a/trace-events
+++ b/trace-events
@@ -1292,3 +1292,9
From: KONRAD Frederic
This introduces the basic reverse-execution mechanism.
Signed-off-by: KONRAD Frederic
---
Makefile.target | 1 +
cpus.c | 6 +
include/reverse-execution.h | 41 ++
reverse-execution.c | 306
From: KONRAD Frederic
This adds cpu_icount_to_ns function which is needed for reverse execution.
It returns the time for a specific instruction.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 9 +++--
include/qemu/timer.h | 1 +
2 files changed, 8 in
From: KONRAD Frederic
We don't want to warp on host clock as it is not deterministic for replay.
So this patch warp icount on the next QEMU_VIRTUAL_CLOCK event if reverse
execution is enabled.
The normal behaviour is kept when reverse execution is disabled.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This introduces a new timer based only on instruction counter and without any
compensation.
Signed-off-by: KONRAD Frederic
---
cpus.c | 19 ---
include/qemu/timer.h | 9 -
qemu-timer.c | 8 +++-
stubs/cpu-get-icoun
From: KONRAD Frederic
This allows QEMU to trigger a debug exception when cexe_dbg_requested
is set.
Signed-off-by: KONRAD Frederic
---
cpu-exec.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/cpu-exec.c b/cpu-exec.c
index 38e5f02..c92cfd1 100644
--- a/cpu-exec.c
+++ b/cpu-
From: KONRAD Frederic
This takes icount clock in account for icount extra computation so icount
clock's timers will be triggered at the exact time.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cpus.c b/cpu
From: KONRAD Frederic
This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
It adds a subsection "timer/icount" to vmstate_timers so icount is migrated only
when needed.
Signed-off-by: KONRAD Frederic
Reviewed-by: Amit Shah
---
cpus.c | 28
1 f
From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpu
From: KONRAD Frederic
Hi everybody,
This is the fourth version of this RFC (see the changes below).
Those are the two first patch-set we have been worked on for reverse execution.
The first part is fully reviewed except the "icount: introduce icount timer"
patch maybe we can merge them?
The f
From: KONRAD Frederic
Notify events on icount clock when CPU loop exits.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/cpus.c b/cpus.c
index 7f99d5e..76de504 100644
--- a/cpus.c
+++ b/cpus.c
@@ -993,6 +993,11 @@ s
From: KONRAD Frederic
This makes qemu_savevm_state public for reverse-execution.
Signed-off-by: KONRAD Frederic
Reviewed-by: Amit Shah
---
include/sysemu/sysemu.h | 1 +
savevm.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/inc
From: KONRAD Frederic
This introduces a new timer based only on instruction counter and without any
compensation.
Signed-off-by: KONRAD Frederic
---
cpus.c | 19 ---
include/qemu/timer.h | 9 -
qemu-timer.c | 8 +++-
stubs/cpu-get-icoun
From: KONRAD Frederic
This takes icount clock in account for icount extra computation so icount
clock's timers will be triggered at the exact time.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cpus.c b/cpu
From: KONRAD Frederic
Hi everybody,
Sorry for the delay.
This is the third version of this RFC (see the changes below).
Those are the two first patch-set we have been worked on for reverse execution.
The first series:
icount: put icount variables into TimerState.
migration: migrate icount
From: KONRAD Frederic
This makes qemu_savevm_state public for reverse-execution.
Signed-off-by: KONRAD Frederic
---
include/sysemu/sysemu.h | 1 +
savevm.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
ind
From: KONRAD Frederic
This allows QEMU to trigger a debug exception when cexe_dbg_requested
is set.
Signed-off-by: KONRAD Frederic
---
cpu-exec.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/cpu-exec.c b/cpu-exec.c
index 0914d3c..851d101 100644
--- a/cpu-exec.c
+++ b/cpu-
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
Notify events on icount clock when CPU loop exits.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/cpus.c b/cpus.c
index e646bac..4dced24 100644
--- a/cpus.c
+++ b/cpus.c
@@ -992,6 +992,11 @@ s
From: KONRAD Frederic
This adds some trace-events for reverse execution.
Signed-off-by: KONRAD Frederic
---
trace-events | 6 ++
1 file changed, 6 insertions(+)
diff --git a/trace-events b/trace-events
index 002c260..06aaf0b 100644
--- a/trace-events
+++ b/trace-events
@@ -1206,3 +1206,9
From: KONRAD Frederic
This adds cpu_icount_to_ns function which is needed for reverse execution.
It returns the time for a specific instruction.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 9 +++--
include/qemu/timer.h | 1 +
2 files changed, 8 in
From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpu
From: KONRAD Frederic
This creates QEMU options for reverse execution.
Signed-off-by: KONRAD Frederic
---
qemu-options.hx | 9 +
vl.c| 16
2 files changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ee5437b..bd730f6 100644
--- a
From: KONRAD Frederic
This introduces the basic reverse-execution mechanism.
Signed-off-by: KONRAD Frederic
---
Makefile.target | 1 +
cpus.c | 6 +
include/reverse-execution.h | 41 ++
reverse-execution.c | 306
From: KONRAD Frederic
We don't want to warp on host clock as it is not deterministic for replay.
So this patch warp icount on the next QEMU_VIRTUAL_CLOCK event if reverse
execution is enabled.
The normal behaviour is kept when reverse execution is disabled.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
It adds a subsection "timer/icount" to vmstate_timers so icount is migrated only
when needed.
Signed-off-by: KONRAD Frederic
---
cpus.c | 28
1 file changed, 28 insertio
From: KONRAD Frederic
This creates QEMU options for reverse execution.
Signed-off-by: KONRAD Frederic
---
qemu-options.hx | 9 +
vl.c| 16
2 files changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ee5437b..bd730f6 100644
--- a
From: KONRAD Frederic
This takes icount clock in account for icount extra computation so icount
clock's timers will be triggered at the exact time.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cpus.c b/cpu
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
This allows QEMU to trigger a debug exception when cexe_dbg_requested
is set.
Signed-off-by: KONRAD Frederic
---
cpu-exec.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/cpu-exec.c b/cpu-exec.c
index 0914d3c..851d101 100644
--- a/cpu-exec.c
+++ b/cpu-
From: KONRAD Frederic
We don't want to warp on host clock as it is not deterministic for replay.
So this patch warp icount on the next QEMU_VIRTUAL_CLOCK event if reverse
execution is enabled.
The normal behaviour is kept when reverse execution is disabled.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This adds cpu_icount_to_ns function which is needed for reverse execution.
It returns the time for a specific instruction.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 9 +++--
include/qemu/timer.h | 1 +
2 files changed, 8 in
From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpu
From: KONRAD Frederic
Notify events on icount clock when CPU loop exits.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
---
cpus.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/cpus.c b/cpus.c
index e646bac..4dced24 100644
--- a/cpus.c
+++ b/cpus.c
@@ -992,6 +992,11 @@ s
From: KONRAD Frederic
This makes qemu_savevm_state public for reverse-execution.
Signed-off-by: KONRAD Frederic
---
include/sysemu/sysemu.h | 1 +
savevm.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
ind
From: KONRAD Frederic
This introduces a new timer based only on instruction counter and without any
compensation.
Signed-off-by: KONRAD Frederic
---
cpus.c | 19 ---
include/qemu/timer.h | 9 -
qemu-timer.c | 8 +++-
stubs/cpu-get-icoun
From: KONRAD Frederic
This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
It adds a subsection "timer/icount" to vmstate_timers so icount is migrated only
when needed.
Signed-off-by: KONRAD Frederic
---
cpus.c | 28
1 file changed, 28 insertio
From: KONRAD Frederic
This introduces the basic reverse-execution mechanism.
Signed-off-by: KONRAD Frederic
---
Makefile.target | 1 +
cpus.c | 6 +
include/reverse-execution.h | 41 ++
reverse-execution.c | 326
From: KONRAD Frederic
Hi everybody,
This is the second version of this RFC (see the changes below).
Those are the two first patch-set we have been worked on for reverse execution.
The first series:
icount: put icount variables into TimerState.
migration: migrate icount fields.
migration:
From: KONRAD Frederic
This makes qemu_savevm_state public for reverse-execution.
Signed-off-by: KONRAD Frederic
---
include/sysemu/sysemu.h | 1 +
savevm.c| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
ind
From: KONRAD Frederic
This takes icount clock in account for icount extra computation so icount
clock's timers will be triggered at the exact time.
Signed-off-by: KONRAD Frederic
---
cpus.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/cpus.c b/cpus.c
index 01c48e9..825d438 1
From: KONRAD Frederic
This allows QEMU to trigger a debug exception when cexe_dbg_requested
is set.
Signed-off-by: KONRAD Frederic
---
cpu-exec.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/cpu-exec.c b/cpu-exec.c
index 0914d3c..851d101 100644
--- a/cpu-exec.c
+++ b/cpu-
From: KONRAD Frederic
This creates QEMU options for reverse execution.
Signed-off-by: KONRAD Frederic
---
qemu-options.hx | 9 +
vl.c| 16
2 files changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ee5437b..bd730f6 100644
--- a
From: KONRAD Frederic
This introduces a new timer based only on instruction counter and without any
compensation.
Signed-off-by: KONRAD Frederic
---
cpus.c | 28 +++-
include/qemu/timer.h | 8
qemu-timer.c | 6 ++
stubs/cpu-get
From: KONRAD Frederic
Notify events on icount clock when CPU loop exits.
Signed-off-by: KONRAD Frederic
---
cpus.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/cpus.c b/cpus.c
index ba096a3..01c48e9 100644
--- a/cpus.c
+++ b/cpus.c
@@ -998,6 +998,11 @@ static void *qemu_tcg_cpu_thr
From: KONRAD Frederic
This fixes a bug where qemu_icount and qemu_icount_bias are not migrated.
Signed-off-by: KONRAD Frederic
---
cpus.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/cpus.c b/cpus.c
index 687717f..bdbc431 100644
--- a/cpus.c
+++ b
From: KONRAD Frederic
Hi everybody,
Those are the two first patch-set we have been worked on for reverse execution.
The first series:
icount: put icount variables into TimerState.
migration: migrate icount fields.
migration: make qemu_savevm_state public.
icount: introduce icount timer.
From: KONRAD Frederic
This allows gdb to reverse step QEMU: reverse-stepi and reverse-cont commands
are allowed.
When step_backward is called, QEMU restores a snapshot before the actual
instruction and stops (with a debug exit) when the previous instruction is
reached.
Signed-off-by: KONRAD Fre
From: KONRAD Frederic
This adds cpu_icount_to_ns function which is needed for reverse execution.
It returns the time for a specific instruction.
Signed-off-by: KONRAD Frederic
---
cpus.c | 9 +++--
include/qemu/timer.h | 1 +
2 files changed, 8 insertions(+), 2 deletions(-)
From: KONRAD Frederic
This puts qemu_icount and qemu_icount_bias into TimerState structure to allow
them to be migrated.
Signed-off-by: KONRAD Frederic
---
cpus.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/cpus.c b/cpus.c
index 1104d61..
From: KONRAD Frederic
This introduces the basic reverse-execution mechanism.
Signed-off-by: KONRAD Frederic
---
Makefile.target | 1 +
cpus.c | 6 +
include/reverse-execution.h | 41 ++
reverse-execution.c | 326
From: KONRAD Frederic
We don't want to warp on host clock as it is not deterministic for replay.
So this patch warp icount on the next QEMU_VIRTUAL_CLOCK event if reverse
execution is enabled.
The normal behaviour is kept when reverse execution is disabled.
Signed-off-by: KONRAD Frederic
---
From: KONRAD Frederic
This creates a new icount based timer, with no bias.
It moves only with the instruction counter.
Signed-off-by: KONRAD Frederic
---
cpus.c | 10 --
include/qemu/timer.h | 4
qemu-timer.c | 6 ++
3 files changed, 18 insertions(+),
From: KONRAD Frederic
We don't want vm_clock to be synchronized with rt_clock as it is
not deterministic for replay.
Signed-off-by: KONRAD Frederic
---
cpus.c | 11 +--
main-loop.c | 5 +
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/cpus.c b/cpus.c
index 46
From: KONRAD Frederic
This bases rt_clock on icount, as vm_clock.
So vm_clock = rt_clock.
Signed-off-by: KONRAD Frederic
---
qemu-timer.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index b2d95e2..6c607e5 100644
--- a/qemu-timer.c
+++ b/
moved us forward, but - QEMU is STILL not
deterministic - we believe this is likely due to I/O which we will start
investigating next.
Fred
KONRAD Frederic (3):
icount: base rt_clock on icount.
icount: sync vm_clock on the next event.
icount: create a new icount based timer.
cpus.c
From: KONRAD Frederic
This fix a bug with scsi hotplug on virtio-scsi-pci:
As virtio-scsi-pci doesn't have any scsi bus, we need to forward scsi-hot-add
to the virtio-scsi-device plugged on the virtio-bus.
Cc: qemu-sta...@nongnu.org
Reported-by: Alexey Kardashevskiy
Reviewed-by: Andreas Färber
From: KONRAD Frederic
This fix a bug with scsi hotplug on virtio-scsi-pci:
As virtio-scsi-pci doesn't have any scsi bus, we need to forward scsi-hot-add
to the virtio-scsi-device plugged on the virtio-bus.
Reported-by: Alexey Kardashevskiy
Signed-off-by: KONRAD Frederic
---
hw/pci/pci-hotplu
Sounds like something that should be commented in the source code.
IDE_TIMEOUT = 32; // 30 seconds per ATA specification +2 seconds thrown in
for safety
On Sat, Jun 1, 2013 at 3:21 PM, Kevin O'Connor wrote:
> On Fri, May 31, 2013 at 03:18:56AM +, Gonglei (Arei) wrote:
> >IDE_TIMEOUT is
From: KONRAD Frederic
This adds virtio_bus_get_dev_path to fix migration id string which is wrong
since the virtio refactoring.
Signed-off-by: KONRAD Frederic
Reviewed-by: Paolo Bonzini
Cc: mdroth
---
hw/virtio/virtio-bus.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/
From: KONRAD Frederic
This forwards the name and the type of virtio-net-x to fix the bad
behaviour of "info network" command.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 3 +++
hw/s390x/virtio-ccw.c | 3 +++
hw/virtio/virtio-pci.c | 3 +++
3 files changed, 9 insert
From: KONRAD Frederic
This adds virtio_net_set_netclient_name, which is used to set the
name and type shown in "info network" command.
Signed-off-by: KONRAD Frederic
---
hw/net/virtio-net.c| 45 --
include/hw/virtio/virtio-net.h | 4
2
From: KONRAD Frederic
This fixes this bug: https://bugs.launchpad.net/qemu/+bug/1179357
The name, and the type is replaced by virtio-net-x's id and virtio-net-x's type
to restore the behaviour of "info network" command.
Thanks,
Fred
KONRAD Frederic (2
t is this?
>
>
> b3e6d591b05538056d665572f3e3bbfb3cbb70e7
This commit is from 05/29 no?
there were issues with that. But it should be fixed.
Do you still have the command-line issue with the last git?
See commit 80270a19685dd20eda017b0360c743b3e3ed6f57
Thanks,
Fred
>
>
>> It
From: KONRAD Frederic
The bus name is wrong since the refactoring.
This keeps the behaviour of the command line.
Signed-off-by: KONRAD Frederic
---
hw/char/virtio-serial-bus.c | 3 ++-
hw/s390x/s390-virtio-bus.c | 11 +++
hw/s390x/virtio-ccw.c | 12
hw/virtio/virt
From: KONRAD Frederic
This adds the possibility to create a scsi-bus with a specified name.
Signed-off-by: KONRAD Frederic
---
hw/scsi/esp-pci.c | 2 +-
hw/scsi/esp.c | 2 +-
hw/scsi/lsi53c895a.c | 2 +-
hw/scsi/megasas.c | 2 +-
hw/scsi/scsi-bus.c | 5 +++--
hw/scsi/s
From: KONRAD Frederic
When the proxy id is set, this bus takes the name "id.0" which is expected
to be the virtio-device's first bus.
So force this name to "virtio-bus" as it is an internal bus.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 5 -
hw/s390x/virtio-ccw.c
From: KONRAD Frederic
The bus name is wrong since the refactoring.
This keeps the behaviour of the command line.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 12
hw/s390x/virtio-ccw.c | 12
hw/scsi/virtio-scsi.c | 3 ++-
h
From: KONRAD Frederic
Add virtio_device_set_child_bus_name function.
It will be used with virtio-serial-x and virtio-scsi-x to set the
child bus name before calling virtio-x-device's init.
Signed-off-by: KONRAD Frederic
---
hw/virtio/virtio.c | 24
include/hw/
From: KONRAD Frederic
Cc: Libaiqing
Cc: Michal Privoznik
This fixes the bus name for virtio-serial-device and virtio-scsi-device.
The bus name for virtio-serial-device and virtio-scsi-device is not "id.0" as it
was the case before the refactoring.
This trigger the error:
qemu-system-xxx -de
From: KONRAD Frederic
This add the possibility to create a scsi-bus with a specified name.
Signed-off-by: KONRAD Frederic
---
hw/scsi/scsi-bus.c | 12 +---
include/hw/scsi/scsi.h | 2 ++
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/s
From: KONRAD Frederic
The bus name is wrong since the refactoring.
This keep the behaviour of the command line.
Signed-off-by: KONRAD Frederic
---
hw/char/virtio-serial-bus.c | 16 +++-
hw/s390x/s390-virtio-bus.c| 8
hw/s390x/virtio-ccw.c | 9 +
From: KONRAD Frederic
The bus name is wrong since the refactoring.
This keep the behaviour of the command line.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 9 +
hw/s390x/virtio-ccw.c | 9 +
hw/scsi/virtio-scsi.c | 14 +
From: KONRAD Frederic
When the proxy id is set, this bus take the name "id.0" which is expected
to be the virtio-device's first bus.
So force this name to "virtio-bus" as it is an internal bus.
Signed-off-by: KONRAD Frederic
---
hw/s390x/s390-virtio-bus.c | 5 -
hw/s390x/virtio-ccw.c
From: KONRAD Frederic
Cc: Libaiqing
Cc: Michal Privoznik
This series fix the bus name for virtio-serial-device and virtio-scsi-device.
The bus name for virtio-serial-device and virtio-scsi-device is not "id.0" as it
was the case before the refactoring.
This trigger the error:
qemu-system-xx
With ACPI moved out of SeaBIOS to QEMU, how will ACPI work when using
SeaBIOS without QEMU?
Like if using SeaBIOS with Boch, KVM or Coreboot?
On Thu, Apr 25, 2013 at 11:02 AM, Michael S. Tsirkin wrote:
> Untested yet, but I thought I'd share the
> BIOS bits so we can agree on direction.
>
> In
From: KONRAD Frederic
This clean the init and the exit functions and rename virtio_common_cleanup
to virtio_cleanup.
Signed-off-by: KONRAD Frederic
---
hw/block/virtio-blk.c | 4 ++--
hw/char/virtio-serial-bus.c | 2 +-
hw/net/virtio-net.c | 2 +-
hw/scsi/virtio-scsi.c |
From: KONRAD Frederic
This remove virtio-bindings, and use class instead.
Signed-off-by: KONRAD Frederic
---
hw/block/dataplane/virtio-blk.c | 15 -
hw/net/vhost_net.c | 17 --
hw/s390x/s390-virtio-bus.c | 8 ---
hw/s390x/virtio-ccw.c |
From: KONRAD Frederic
This remove the init, exit functions as they are no longer used.
Signed-off-by: KONRAD Frederic
---
hw/virtio/virtio-pci.c | 54 ++
hw/virtio/virtio-pci.h | 2 --
2 files changed, 2 insertions(+), 54 deletions(-)
diff --gi
301 - 400 of 812 matches
Mail list logo