On Tue, Jan 31, 2012 at 01:36:04PM +0100, Paolo Bonzini wrote:
> On 01/30/2012 10:33 AM, Hu Tao wrote:
> >>> I cannot reproduce this with a 100G qcow2 image (created with
> >>> "qemu-img create scsi.qcow2 100G" just before launching the host),
> >>&
On Thu, Feb 09, 2012 at 08:13:52AM +0100, Paolo Bonzini wrote:
> On 02/09/2012 06:46 AM, Hu Tao wrote:
> >>>> >I've re-tested today, with host kernel 2.6.35.6-45.fc14.x86_64,
> >>>> >2.6.32-71.el6.x86_64, 3.1.0 and 3.3.0-rc1+, qemu version and
update kernel headers to add pv event macros.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
linux-headers/asm-x86/kvm_para.h |1 +
linux-headers/linux/kvm_para.h |6 ++
2 files changed, 7 insertions(+)
diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86
From: Wen Congyang
The guest should run after reseting it, but it does not run if its
old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
We don't set runstate to RUN_STATE_PAUSED when reseting the guest,
so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or
RUN_STATE_PAUSED to
From: Wen Congyang
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
---
qapi-schema.json |6 +-
qmp.c|3 ++-
vl.c |7 ++-
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.j
clude it's code into pv_event.c
for such target.
Note: if we emit QEVENT_GUEST_PANICKED only, and the management
application does not receive this event(the management may not
run when the event is emitted), the management won't know the
guest is panicked.
Signed-off-by: Wen Congyang
S
This event will be emited when the guest is panicked.
Signed-off-by: Wen Congyang
---
monitor.c |1 +
monitor.h |1 +
2 files changed, 2 insertions(+)
diff --git a/monitor.c b/monitor.c
index d17ae2d..d2e4bbf 100644
--- a/monitor.c
+++ b/monitor.c
@@ -457,6 +457,7 @@ static const char *
From: Wen Congyang
Signed-off-by: Wen Congyang
---
hw/pc_piix.c|6 +-
qemu-config.c |4
qemu-options.hx |3 ++-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index fb67dc1..864d356 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_pii
rtual device
3. it can work when starting the kernel
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
changes from v10:
- add a kernel parameter to disable pv-event
- detailed documentation to describe pv event interface
- make kvm_pv_event_init() local
Documentation/virtua
s supplied
- reserve RUN_STATE_GUEST_PANICKED during migration
- add doc of enable_pv_event option
- disable reboot-on-panic if pv_event is on
v11: http://lists.gnu.org/archive/html/qemu-devel/2012-10/msg04361.html
Hu Tao (7):
save/load cpu runstate
update kernel headers
add a ne
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
hw/pc_piix.c| 8 +++-
qemu-config.c | 4
qemu-options.hx | 3 ++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 8380702..bf31b96 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
Signed-off-by: Hu Tao
---
docs/pv-event.txt | 17 +
1 file changed, 17 insertions(+)
create mode 100644 docs/pv-event.txt
diff --git a/docs/pv-event.txt b/docs/pv-event.txt
new file mode 100644
index 000..ac9e7fa
--- /dev/null
+++ b/docs/pv-event.txt
@@ -0,0 +1,17 @@
+KVM
This event will be emited when the guest is panicked.
Signed-off-by: Wen Congyang
---
monitor.c | 1 +
monitor.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/monitor.c b/monitor.c
index 1226501..231785b 100644
--- a/monitor.c
+++ b/monitor.c
@@ -458,6 +458,7 @@ static const char *monito
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
migration.c | 1 +
qapi-schema.json | 6 +-
qmp.c| 3 ++-
vl.c | 11 ++-
4 files changed, 18 insertions(+), 3 deletions(-)
diff --git a
rtual device
3. it can work when starting the kernel
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
arch/ia64/kvm/irq.h | 19 +
arch/powerpc/include/asm/kvm_para.h | 18 +
arch/s390/include/asm/kvm_para.h| 19 +
arch/x86/includ
From: Wen Congyang
The guest should run after resetting it, but it does not run if its
old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
We don't set runstate to RUN_STATE_PAUSED when resetting the guest,
so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or
RUN_STATE_PAUSED
update kernel headers to add pv event macros.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
linux-headers/asm-x86/kvm_para.h | 1 +
linux-headers/linux/kvm_para.h | 6 ++
2 files changed, 7 insertions(+)
diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86
clude it's code into pv_event.c
for such target.
Note: if we emit QEVENT_GUEST_PANICKED only, and the management
application does not receive this event(the management may not
run when the event is emitted), the management won't know the
guest is panicked.
Signed-off-by: Wen Congyang
S
Signed-off-by: Hu Tao
---
migration.c | 6 +-
monitor.c | 5 ++---
savevm.c| 1 +
sysemu.h| 2 ++
vl.c| 34 ++
5 files changed, 40 insertions(+), 8 deletions(-)
diff --git a/migration.c b/migration.c
index 73ce170..31fa300 100644
--- a
Hi,
Any comments?
On Wed, Dec 12, 2012 at 02:13:43PM +0800, Hu Tao wrote:
> This series implements a new interface, kvm pv event, to notify host when
> some events happen in guest. Right now there is one supported event: guest
> panic.
>
> changes from v11:
>
> - add a
On Thu, Feb 07, 2013 at 11:50:28PM -0200, Marcelo Tosatti wrote:
> On Wed, Jan 23, 2013 at 03:19:23PM +0800, Hu Tao wrote:
> > From: Wen Congyang
> >
> > The guest should run after resetting it, but it does not run if its
> > old state is RUN_STATE_INTERNAL_ERROR or RU
On Thu, Feb 07, 2013 at 11:45:34PM -0200, Marcelo Tosatti wrote:
> On Wed, Jan 23, 2013 at 03:19:22PM +0800, Hu Tao wrote:
> > This patch enables preservation of cpu runstate during save/load vm.
> > So when a vm is restored from snapshot, the cpu runstate is restored,
> &
Signed-off-by: Hu Tao
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index dcaa67c..46b29dc 100755
--- a/configure
+++ b/configure
@@ -1052,6 +1052,8 @@ echo " --disable-strip disable stripping
binaries"
echo " -
Signed-off-by: Hu Tao
---
qom/object.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qom/object.c b/qom/object.c
index 3d638ff..a90b131 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -189,7 +189,7 @@ static bool type_is_ancestor(TypeImpl *type, TypeImpl
*target_type
It's now not true what the comment says.
Signed-off-by: Hu Tao
---
include/qom/object.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/qom/object.h b/include/qom/object.h
index cf094e7..ccebd90 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -
On Thu, Feb 07, 2013 at 11:39:47PM -0200, Marcelo Tosatti wrote:
> Hi,
>
> On Wed, Jan 23, 2013 at 03:19:21PM +0800, Hu Tao wrote:
> > We can know the guest is panicked when the guest runs on xen.
> > But we do not have such feature on kvm.
> >
> > Another purpo
This event will be emited when the guest is panicked.
Signed-off-by: Wen Congyang
---
include/monitor/monitor.h | 1 +
monitor.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/monitor/monitor.h b/include/monitor/monitor.h
index 87fb49c..4006905 100644
--- a/include
rtual device
3. it can work when starting the kernel
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
arch/x86/include/asm/kvm_para.h | 26 +
arch/x86/include/uapi/asm/kvm_para.h | 2 ++
arch/x86/kernel/Makefile | 2 +-
arch/x86/kernel/kvm.c
update kernel headers to add pv event macros.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
linux-headers/asm-x86/kvm_para.h | 1 +
linux-headers/linux/kvm_para.h | 6 ++
2 files changed, 7 insertions(+)
diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86
: running
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 2 ++
migration.c | 6 +-
monitor.c | 5 ++---
savevm.c| 1 +
vl.c| 34 ++
5 files changed, 40 insertions(+), 8 deletions(-)
diff
From: Wen Congyang
The guest should run after resetting it, but it does not run if its
old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
We don't set runstate to RUN_STATE_PAUSED when resetting the guest,
so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or
RUN_STATE_PAUSED
quring the status
of vm in destination host when migration completes.
v12: http://lists.nongnu.org/archive/html/qemu-devel/2013-01/msg04120.html
changes from v12:
- no DO_UPCASE
- the interface is only for x86 now
- request 4 bytes io range(hw/kvm_pv_event.c)
- rebase to the latest tree
Hu
Signed-off-by: Hu Tao
---
docs/pv-event.txt | 17 +
1 file changed, 17 insertions(+)
create mode 100644 docs/pv-event.txt
diff --git a/docs/pv-event.txt b/docs/pv-event.txt
new file mode 100644
index 000..ac9e7fa
--- /dev/null
+++ b/docs/pv-event.txt
@@ -0,0 +1,17 @@
+KVM
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
migration.c | 1 +
qapi-schema.json | 6 +-
qmp.c| 3 ++-
vl.c | 11 ++-
4 files changed, 18 insertions(+), 3 deletions(-)
diff --git a
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
hw/pc_piix.c| 9 -
qemu-options.hx | 3 ++-
vl.c| 4
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 24a9bf3..82a421a 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
clude it's code into pv_event.c
for such target.
Note: if we emit QEVENT_GUEST_PANICKED only, and the management
application does not receive this event(the management may not
run when the event is emitted), the management won't know the
guest is panicked.
Signed-off-by: Wen Congyang
S
On Thu, Feb 28, 2013 at 02:12:37PM -0700, Eric Blake wrote:
> On 02/28/2013 05:13 AM, Hu Tao wrote:
> > This patch enables preservation of cpu runstate during save/load vm.
> > So when a vm is restored from snapshot, the cpu runstate is restored,
> > too.
>
> What
On Mon, Mar 04, 2013 at 10:30:48AM +0100, Paolo Bonzini wrote:
> Il 28/02/2013 13:13, Hu Tao ha scritto:
> > This patch enables preservation of cpu runstate during save/load vm.
> > So when a vm is restored from snapshot, the cpu runstate is restored,
> > too.
>
> I
On Mon, Mar 04, 2013 at 10:40:15AM +0100, Paolo Bonzini wrote:
> Il 28/02/2013 13:13, Hu Tao ha scritto:
> > The guest will be in this state when it is panicked.
> >
> > Signed-off-by: Wen Congyang
> > Signed-off-by: Hu Tao
> > ---
> > migration.c
On Fri, Mar 01, 2013 at 09:31:47AM -0700, Eric Blake wrote:
> On 02/28/2013 05:13 AM, Hu Tao wrote:
> > This event will be emited when the guest is panicked.
> >
> > Signed-off-by: Wen Congyang
> > ---
> > include/monitor/monitor.h | 1 +
> > monitor.c
On Thu, Feb 28, 2013 at 02:23:42PM +0100, Jan Kiszka wrote:
> On 2013-02-28 13:13, Hu Tao wrote:
> > From: Wen Congyang
> >
> > The guest should run after resetting it, but it does not run if its
> > old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
> &
On Mon, Mar 04, 2013 at 10:32:17AM +0100, Paolo Bonzini wrote:
> Il 28/02/2013 13:13, Hu Tao ha scritto:
> > From: Wen Congyang
> >
> > The guest should run after resetting it, but it does not run if its
> > old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PA
On Sun, Mar 03, 2013 at 11:17:38AM +0200, Gleb Natapov wrote:
> On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote:
> > This series implements a new interface, kvm pv event, to notify host when
> > some events happen in guest. Right now there is one supported event:
Hi,
On Mon, Mar 04, 2013 at 11:05:37AM +0100, Paolo Bonzini wrote:
> Il 03/03/2013 10:17, Gleb Natapov ha scritto:
> > On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote:
> >> This series implements a new interface, kvm pv event, to notify host when
> >> some events
On Tue, Mar 05, 2013 at 09:26:18AM +0100, Paolo Bonzini wrote:
> Il 05/03/2013 04:17, Hu Tao ha scritto:
> > Will
> >
> > if (runstate_check(RUN_STATE_INTERNAL_ERROR) ||
> > runstate_check(RUN_STATE_SHUTDOWN) ||
> > runsta
commit 08744c98115cfa144ed3493556024e400b2e2573 removes baum.h, but baum.c
still includes it. Remove it from baum.c.
Signed-off-by: Hu Tao
---
hw/baum.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/baum.c b/hw/baum.c
index d75b150..d8919d5 100644
--- a/hw/baum.c
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 1 +
qapi-schema.json| 5 -
qmp.c | 3 +--
vl.c| 13 +++--
4 files changed, 17 insertions(+), 5
qmp event QEVENT_GUEST_PANICKED.
TODO: make the IO port configurable
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
hw/Makefile.objs | 2 +
hw/pvevent.c | 116 +++
2 files changed, 118 insertions(+)
create mode 100644 hw
o runstate save/load(will be a seperate patch) (Paolo)
- support q35 (Gleb)
- doc about qmp event (Eric)
- doc about pvevent device (Paolo)
v13: http://lists.nongnu.org/archive/html/qemu-devel/2013-02/msg05361.html
Hu Tao (4):
add a new runstate: RUN_STATE_GUEST_PANICKED
add a
This event will be emited when the guest is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
QMP/qmp-events.txt| 14 ++
include/monitor/monitor.h | 1 +
monitor.c | 1 +
3 files changed, 16 insertions(+)
diff --git a/QMP/qmp-events.txt b
Signed-off-by: Hu Tao
---
docs/pvevent.txt | 16
1 file changed, 16 insertions(+)
create mode 100644 docs/pvevent.txt
diff --git a/docs/pvevent.txt b/docs/pvevent.txt
new file mode 100644
index 000..749b87c
--- /dev/null
+++ b/docs/pvevent.txt
@@ -0,0 +1,16 @@
+PVEVENT
pvevent device is used to notify host(qemu) when guest panic
happens.
ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.html
Signed-off-by: Hu Tao
---
src/acpi-dsdt-isa.dsl | 30 ++
1 file changed, 30 insertions(+)
diff --git a/src/acpi-dsdt
pvevent device is a qemu simulated device through which guest panic
event is sent to host.
ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg02293.html
Signed-off-by: Hu Tao
---
drivers/platform/x86/Kconfig | 7 +++
drivers/platform/x86/Makefile | 2 +
drivers/platform/x86
On Thu, Mar 14, 2013 at 10:57:18AM +0200, Gleb Natapov wrote:
> On Thu, Mar 14, 2013 at 04:48:47PM +0800, Hu Tao wrote:
> > pvevent device is used to notify host(qemu) when guest panic
> > happens.
> >
> > ref: http://lists.nongnu.org/archive/html/qemu-devel/2013-03/ms
On Thu, Mar 14, 2013 at 09:45:30AM +0100, Paolo Bonzini wrote:
> Il 14/03/2013 09:15, Hu Tao ha scritto:
> > Signed-off-by: Hu Tao
> > ---
> > docs/pvevent.txt | 16
> > 1 file changed, 16 insertions(+)
> > create mode 100644 docs/pveve
On Thu, Mar 14, 2013 at 10:58:45AM +0200, Gleb Natapov wrote:
> On Thu, Mar 14, 2013 at 04:15:49PM +0800, Hu Tao wrote:
> > This series introduces a new simulated device, pvevent, to notify
> > qemu when guest panic event happens.
> >
> Call it something less generic. pvpanic for instance.
OK.
On Thu, Mar 14, 2013 at 10:14:12AM +0100, Paolo Bonzini wrote:
> Il 14/03/2013 09:15, Hu Tao ha scritto:
> > pvevent device is used to send guest panic event from guest to qemu.
> >
> > When guest panic happens, pvevent device driver will write a event
> > number to IO
/f800
(pci-hole)
Signed-off-by: Hu Tao
---
memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memory.c b/memory.c
index 92a2196..75ca281 100644
--- a/memory.c
+++ b/memory.c
@@ -1321,7 +1321,7 @@ static void
memory_region_add_subregion_common(MemoryRegion *mr
ing it for other comments.
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 2 ++
migration.c | 6 +-
monitor.c | 5 ++---
savevm.c| 1 +
vl.c| 34 ++
5 files changed, 40 insertions(+), 8
On Sun, Mar 17, 2013 at 07:12:09PM +, Blue Swirl wrote:
> On Thu, Mar 14, 2013 at 8:51 AM, Hu Tao wrote:
> > pvevent device is a qemu simulated device through which guest panic
> > event is sent to host.
> >
> > ref: http://lists.nongnu.org/archive/html/qemu-
On Fri, Mar 15, 2013 at 07:35:12PM +, Matthew Garrett wrote:
> On Thu, 2013-03-14 at 16:51 +0800, Hu Tao wrote:
>
> > + { "MSFT0001", 0},
>
> This seems wrong, and it looks like qemu agrees. Can you resubmit when
> there's agreement on the name?
My fa
cpu hotplug uses bit 2 of GPE instead of bit 1.
Signed-off-by: Hu Tao
---
src/q35-acpi-dsdt.dsl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/q35-acpi-dsdt.dsl b/src/q35-acpi-dsdt.dsl
index c031d83..417ac48 100644
--- a/src/q35-acpi-dsdt.dsl
+++ b/src/q35-acpi
OSPM may disable the sci by clearing GPEx_BLK EN bit, in the case
we have to set sci level to 0 or guest will receive sci interrupts
endlessly.
Signed-off-by: Hu Tao
---
hw/acpi/ich9.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 3fb443d..8717c15
Signed-off-by: Hu Tao
---
hw/acpi/ich9.c | 91 --
include/hw/acpi/ich9.h | 11 ++
2 files changed, 100 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 8717c15..146216a 100644
--- a/hw/acpi/ich9.c
+++ b
Added: Igor Mammedov
On Wed, Aug 21, 2013 at 05:04:28PM +0800, Hu Tao wrote:
>
> Signed-off-by: Hu Tao
> ---
> hw/acpi/ich9.c | 91
> --
> include/hw/acpi/ich9.h | 11 ++
> 2 files changed, 100 insertions(+), 2
On Wed, Aug 21, 2013 at 12:42:37PM +0300, Michael S. Tsirkin wrote:
> On Wed, Aug 21, 2013 at 10:18:23AM +0200, Paolo Bonzini wrote:
> > Il 21/08/2013 10:03, Marcel Apfelbaum ha scritto:
> > > On Wed, 2013-08-14 at 10:02 +0300, Ronen Hod wrote:
> > >> How about adding a flag that tells QEMU whether
If offset_within_address_space falls in a page, then we register a
subpage. So check offset_within_address_space rather than
offset_within_region.
Cc: Paolo Bonzini
Cc: Richard Henderson
Cc: "Andreas Färber"
Cc: Peter Maydell
Cc: Blue Swirl
Signed-off-by: Hu Tao
---
exec.c | 2
On Tue, Sep 16, 2014 at 12:19:58PM +0200, Kevin Wolf wrote:
> Am 16.09.2014 um 12:10 hat Hu Tao geschrieben:
> > ping...
>
> Sorry, forgot to send the mail when I merged it. This is in master now.
Thank you very much!
Regards,
Hu
>
> Kevin
>
> > On Fri, Sep 12
On Tue, Sep 16, 2014 at 06:39:15PM +0800, zhanghailiang wrote:
> If we do not configure numa option, memory hotplug should work as well.
> It should not depend on numa option.
>
> Steps to reproduce:
> (1) Start VM: qemu-kvm -m 1024,slots=4,maxmem=8G
> (2) Hotplug memory
> It will fail and reports
On Wed, Sep 17, 2014 at 02:19:05PM +0400, Andrey Korolyov wrote:
> On Wed, Sep 17, 2014 at 2:00 PM, Tang Chen wrote:
> > Add Andrey Korolyov
> >
> > On 09/17/2014 04:32 PM, Hu Tao wrote:
> >>
> >> On Tue, Sep 16, 2014 at 06:39:15PM +0800, zhanghailiang wr
On Tue, Sep 23, 2014 at 11:30:26AM +0300, Michael S. Tsirkin wrote:
> On Tue, Sep 23, 2014 at 03:57:47PM +0800, zhanghailiang wrote:
> > If we configure mlock=on and memory policy=bind at the same time,
> > It will consume lots of time for system to treat with memory,
> > especially when call mbind
continues running.
Signed-off-by: Hu Tao
---
exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exec.c b/exec.c
index 759055d..eed5da2 100644
--- a/exec.c
+++ b/exec.c
@@ -1163,9 +1163,9 @@ static void *file_ram_alloc(RAMBlock *block,
return area;
error:
-if
This is a regression introduced by c0907c9e6417c. -M q35
to reproduce the problem.
Signed-off-by: Hu Tao
---
default-configs/i386-softmmu.mak | 2 +-
default-configs/x86_64-softmmu.mak | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/default-configs/i386-softmmu.mak b
aeger (1):
Wire up disabled wait a panicked event on s390
Hu Tao (6):
add a new runstate: RUN_STATE_GUEST_PANICKED
add a new qevent: QEVENT_GUEST_PANICKED
introduce a new qom device to deal with panicked event
pvpanic: pass configurable ioport to seabios
pvpanic: add document of pv
This event will be emited when qemu detects guest panic.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
QMP/qmp-events.txt| 14 ++
include/monitor/monitor.h | 1 +
monitor.c | 1 +
3 files changed, 16 insertions(+)
diff --git a/QMP/qmp-events.txt b
From: Christian Borntraeger
On s390 the disabled wait state indicates a state of attention.
For example Linux uses that state after a panic. Lets
put the system into panicked state.
An alternative implementation would be to state
disabled-wait instead of pause in the action field.
(e.g. z/OS, z
qmp event QEVENT_GUEST_PANICKED.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
hw/misc/Makefile.objs | 2 +
hw/misc/pvpanic.c | 116 ++
2 files changed, 118 insertions(+)
create mode 100644 hw/misc/pvpanic.c
diff --git a/hw/misc
Signed-off-by: Hu Tao
---
docs/specs/pvpanic.txt | 37 +
1 file changed, 37 insertions(+)
create mode 100644 docs/specs/pvpanic.txt
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
new file mode 100644
index 000..d72d667
--- /dev/null
+++ b
This lets seabios patch the corresponding SSDT entry.
Signed-off-by: Hu Tao
---
hw/misc/pvpanic.c | 14 ++
hw/nvram/fw_cfg.c | 8 +++-
include/hw/nvram/fw_cfg.h | 2 ++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/hw/misc/pvpanic.c b/hw/misc
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc_piix.c| 16 ++--
hw/i386/pc_q35.c | 15 ++-
hw/misc/pvpanic.c| 7 +++
include/hw/i386/pc.h | 3 +++
4 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 1 +
qapi-schema.json| 5 -
qmp.c | 3 +--
vl.c| 13 +++--
4 files changed, 17 insertions(+), 5
t; > need this new fw_cfg file obviously. Paolo thinks this is not feasible,
> > I haven't followed this work to close to have informed opinion.
>
> I was hoping I'd get a chance to submit some QEMU patches for this
> before the soft-freeze, but unfortunately I have no
On Wed, Apr 10, 2013 at 10:10:06AM +0200, Markus Armbruster wrote:
> Hu Tao writes:
>
> > This is a regression introduced by c0907c9e6417c. -M q35
> > to reproduce the problem.
>
> Including a complete reproducer in the commit message would be a bit
> nicer. Here
This is a regression introduced by c0907c9e6417c. How to reproduce:
$ qemu-system-x86_64 -nodefaults -vnc :0 -M q35
qemu-system-x86_64: Unknown device 'q35-pcihost' for default sysbus
Aborted (core dumped)
Tested-by: Markus Armbruster
Signed-off-by: Hu Tao
---
default-configs/i386-s
Hi,
On Wed, Apr 10, 2013 at 01:54:04PM +0200, Markus Armbruster wrote:
> Hu Tao writes:
>
> > pvpanic device is used to send guest panic event from guest to qemu.
> >
> > When guest panic happens, pvpanic device driver will write a event
> > number to IO port 0x505
Hi,
Sorry for the delay.
On Thu, Apr 11, 2013 at 10:52:02AM +0200, Markus Armbruster wrote:
> Hu Tao writes:
>
> > Hi,
> >
> > On Wed, Apr 10, 2013 at 01:54:04PM +0200, Markus Armbruster wrote:
> >> Hu Tao writes:
> >>
> >> > pvpanic
ioport/custom ioport
Changes from v18:
- ignore un-implemented bits
Christian Borntraeger (1):
Wire up disabled wait a panicked event on s390
Hu Tao (6):
add a new runstate: RUN_STATE_GUEST_PANICKED
add a new qevent: QEVENT_GUEST_PANICKED
introduce a new qom device to deal with
qmp event QEVENT_GUEST_PANICKED.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
hw/misc/Makefile.objs | 2 +
hw/misc/pvpanic.c | 123 ++
2 files changed, 125 insertions(+)
create mode 100644 hw/misc/pvpanic.c
diff --git a/hw/misc
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 1 +
qapi-schema.json| 5 -
qmp.c | 3 +--
vl.c| 13 +++--
4 files changed, 17 insertions(+), 5
From: Christian Borntraeger
On s390 the disabled wait state indicates a state of attention.
For example Linux uses that state after a panic. Lets
put the system into panicked state.
An alternative implementation would be to state
disabled-wait instead of pause in the action field.
(e.g. z/OS, z
Signed-off-by: Hu Tao
---
docs/specs/pvpanic.txt | 39 +++
1 file changed, 39 insertions(+)
create mode 100644 docs/specs/pvpanic.txt
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
new file mode 100644
index 000..c7bbacc
--- /dev/null
+++ b
This event will be emited when qemu detects guest panic.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
QMP/qmp-events.txt| 14 ++
include/monitor/monitor.h | 1 +
monitor.c | 1 +
3 files changed, 16 insertions(+)
diff --git a/QMP/qmp-events.txt b
This lets seabios patch the corresponding SSDT entry.
Signed-off-by: Hu Tao
---
hw/misc/pvpanic.c | 14 ++
hw/nvram/fw_cfg.c | 8 +++-
include/hw/nvram/fw_cfg.h | 2 ++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/hw/misc/pvpanic.c b/hw/misc
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc_piix.c| 16 ++--
hw/i386/pc_q35.c | 15 ++-
hw/misc/pvpanic.c| 7 +++
include/hw/i386/pc.h | 3 +++
4 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw
On Thu, Apr 18, 2013 at 11:22:56AM +0200, Markus Armbruster wrote:
> Hu Tao writes:
>
> > This lets seabios patch the corresponding SSDT entry.
> >
> > Signed-off-by: Hu Tao
> > ---
> > hw/misc/pvpanic.c | 14 ++
> > hw/nvram/fw_c
This event will be emited when qemu detects guest panic.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
QMP/qmp-events.txt| 14 ++
include/monitor/monitor.h | 1 +
monitor.c | 1 +
3 files changed, 16 insertions(+)
diff --git a/QMP/qmp-events.txt b
The guest will be in this state when it is panicked.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 1 +
qapi-schema.json| 5 -
qmp.c | 3 +--
vl.c| 13 +++--
4 files changed, 17 insertions(+), 5
This lets seabios patch the corresponding SSDT entry.
Signed-off-by: Hu Tao
---
hw/misc/pvpanic.c | 14 ++
hw/nvram/fw_cfg.c | 8 +++-
include/hw/nvram/fw_cfg.h | 2 ++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/hw/misc/pvpanic.c b/hw/misc
Signed-off-by: Hu Tao
---
docs/specs/pvpanic.txt | 39 +++
1 file changed, 39 insertions(+)
create mode 100644 docs/specs/pvpanic.txt
diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt
new file mode 100644
index 000..c7bbacc
--- /dev/null
+++ b
qmp event QEVENT_GUEST_PANICKED.
Signed-off-by: Wen Congyang
Signed-off-by: Hu Tao
---
default-configs/i386-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/misc/Makefile.objs | 2 +
hw/misc/pvpanic.c | 123
1 - 100 of 979 matches
Mail list logo