Reference: http://lists.gnu.org/archive/html/qemu-devel/2009-12/msg01954.html
> static const int tcg_target_call_iarg_regs[] = {
> +TCG_REG_R2,
> +TCG_REG_R3,
> +TCG_REG_R4,
> +TCG_REG_R5,
> };
R6 is also an argument register.
> +static void tcg_out_e3(TCGContext* s, int op, in
resend by git send-email to avoid line-wrapping
Signed-off-by: Huacai Chen
---
Makefile.target |1 +
default-configs/mips64el-softmmu.mak |1 +
hw/bonito.c | 950 ++
hw/mips.h|3
Zero cpu_single_env before leaving global lock protection, and
restore on return.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
kvm-all.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 6962b2b..fbd084c 100644
--- a/kvm-all.c
Usually the guest can tell the host to flush data to disk. In some cases we
don't want to flush though, but try to keep everything in cache.
So let's add a new cache value to -drive that allows us to set the cache
policy to most aggressive, disabling flushes. We call this mode "volatile",
as guest
On 12.05.2010, at 19:28, Aurelien Jarno wrote:
> On Tue, May 11, 2010 at 09:50:34PM +0200, Alexander Graf wrote:
>>
>> Am 11.05.2010 um 19:26 schrieb Richard Henderson :
>>
>>> On 05/11/2010 09:47 AM, Stefan Weil wrote:
Won't you get another warning about unreachable code
because tcg_
run_on_cpu allows to execute work on a given CPUState context.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
cpu-all.h |1 +
cpu-defs.h|2 ++
cpus.c| 53 +
qemu-common.h |8
4 files changed
TeLeMan wrote:
> cirrus_post_load() will be executed twice when loading vm states and then the
> wrong physical memory will be registered. This issue may lead to crash qemu.
>
> Signed-off-by: TeLeMan
Nice catch.
Acked-by: Juan Quintela
- Change from GPL to LGPL
- Add license text when missing
- Minor cosmetic changes to make all headers look the same
Signed-off-by: Luiz Capitulino
---
check-qdict.c |3 +++
check-qfloat.c |5 -
check-qint.c|3 +++
check-qlist.c |4 ++--
check-qstring.c |3 +++
q
cpu_reset zeroes CPUState upto breakpoints member. Contents of
stop/stopped should not be zeroed on cpu_reset.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
cpu-defs.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpu-defs.h b/cpu-defs.h
index c764d6
Fallback to qemu_vmalloc in case file_ram_alloc fails.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
exec.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/exec.c b/exec.c
index 3416aed..56b5561 100644
--- a/exec.c
+++ b/exec.c
@@ -2775,8 +2775,12
From: Jan Kiszka
It was only written, but never read.
Signed-off-by: Jan Kiszka
CC: Andrzej Zaborowski
---
hw/tmp105.c | 10 --
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/hw/tmp105.c b/hw/tmp105.c
index 8343aff..cac5f2b 100644
--- a/hw/tmp105.c
+++ b/hw/tmp105.c
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
cpu-all.h |1 +
cpus.c|5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cpu-all.h b/cpu-all.h
index 9efb8a9..47a5722 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -821,6 +821,7 @@ void cpu_watchpoint_remo
Store tcg loop exit request on a global variable, and transfer it to
per-CPUState exit_request after assignment of cpu_single_env.
This makes exit request signal from robust. Drop the timedlock hack.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
cpu-exec.c |7 +++
cpus.c
From: Gleb Natapov
On AMD some bits from 1.EDX are reported in 8001.EDX. The mask used
to copy bits from 1.EDX to 8001.EDX is incorrect resulting in
unsupported features passed into a guest.
Signed-off-by: Gleb Natapov
Signed-off-by: Marcelo Tosatti
---
target-i386/kvm.c |2 +-
1
From: Jan Kiszka
Establish vmstate containers for ISA and sysbus variant, define the
iobase as instance ID alias, and let qdev do the vmstate registration
work.
Signed-off-by: Jan Kiszka
---
hw/fdc.c | 35 ++-
1 files changed, 30 insertions(+), 5 deletions(-)
Am Wednesday 12 May 2010 09:56:31 schrieb Jan Kiszka:
> OK, that was a hard nut. After various dead ends, I think I found an
> possible solution. Can you give this a try?
[..]
> Still requires proper patch split up, and I need to think about possible
> side effects.
Thanks, the patch is working.
B
From: Jan Kiszka
Validate that KVM vcpu state is only read/written from cpu thread itself
or that cpu is stopped.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
target-i386/kvm.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/target-i386/kvm.c b/targ
From: Jan Kiszka
It is not safe to retrieve the KVM internal state of a given cpu
while its potentially modifying it.
Queue the request to run on cpu context, similarly to qemu-kvm.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
kvm-all.c | 10 +-
1 files changed, 9 i
The following changes since commit 54d7cf136f040713095cbc064f62d753bff6f9d2:
Markus Armbruster (1):
doc: Clean up monitor command function index
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
Gleb Natapov (2):
Do not stop VM
Stefan Weil wrote:
> Some versions of kvm.h (debian lenny) define KVM_CAP_VCPU_EVENTS
> without defining KVM_VCPUEVENT_VALID_NMI_PENDING or
> KVM_VCPUEVENT_VALID_SIPI_VECTOR.
This rather looks like a bug to be sent to debian. Until they fixed
their backport (I just hope it's a user space header is
On 05/12/10 22:29, Cole Robinson wrote:
> Commit f75ca1ae205f24dae296c82d534c37746f87232f changed the version
> string from:
>
> QEMU PC Emulator version x.yy.z
>
> to
>
> QEMU Emulator version x.yy.z
>
> libvirt is overly sensitive to the format of this string, and barfs when
> trying to parse
Signed-off-by: Blue Swirl
---
hw/an5206.c |9
hw/arm_pic.c| 10 -
hw/cris_pic_cpu.c |5
hw/i8259.c | 50 ++
hw/microblaze_pic_cpu.c |5
hw/pc.h |2
From: Jan Kiszka
At least for isa-serial, we can already let qdev do the vmstate
registration for us. It just takes wrapping vmstate for the
encapsulating ISASerialState and defining the proper instance ID
aliases.
Signed-off-by: Jan Kiszka
---
hw/serial.c | 13 -
1 files changed
On 05/12/2010 04:38 PM, Jes Sorensen wrote:
> On 05/12/10 22:29, Cole Robinson wrote:
>> Commit f75ca1ae205f24dae296c82d534c37746f87232f changed the version
>> string from:
>>
>> QEMU PC Emulator version x.yy.z
>>
>> to
>>
>> QEMU Emulator version x.yy.z
>>
>> libvirt is overly sensitive to the for
From: Jan Kiszka
Some legacy users (mostly PC devices) of vmstate_register manage
instance IDs on their own, and that unfortunately in a way that is
incompatible with automatically generated ones. This so far prevents
switching those users to vmstates that are registered by qdev.
To establish a
On Wed, 12 May 2010 18:48:38 +0200
Markus Armbruster wrote:
> > +query-block
> > +---
> > +
> > +Show the block devices.
> > +
> > +Each block device information is stored in a json-object and the returned
> > value
> > +is a json-array of all devices.
> > +
> > +Each json-object contain
Signed-off-by: Blue Swirl
---
monitor.c | 41 +
monitor.h | 10 ++
qemu-monitor.hx | 13 +
3 files changed, 64 insertions(+), 0 deletions(-)
diff --git a/monitor.c b/monitor.c
index a1ebc5d..9bb1a30 100644
--- a/monito
Commit f75ca1ae205f24dae296c82d534c37746f87232f changed the version
string from:
QEMU PC Emulator version x.yy.z
to
QEMU Emulator version x.yy.z
libvirt is overly sensitive to the format of this string, and barfs when
trying to parse qemu -help output. While libvirt should certainly be more
rob
Signed-off-by: Blue Swirl
---
hw/qdev.c |3 +++
hw/qdev.h |3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index d3bf0fa..258bbef 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -280,6 +280,9 @@ int qdev_init(DeviceState *dev)
qemu_register_reset
From: Jan Kiszka
After defining the required alias ID, we can push vmstate registration
of mc146818rtc to qdev.
Signed-off-by: Jan Kiszka
---
hw/mc146818rtc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c
index 89a423e..16b033a 1
From: Gleb Natapov
Continue vcpu execution in case emulation failure happened while vcpu
was in userspace. In this case #UD will be injected into the guest
allowing guest OS to kill offending process and continue.
Signed-off-by: Gleb Natapov
Signed-off-by: Marcelo Tosatti
---
kvm-all.c
Jan Kiszka wrote:
> This series comes with two major contributions:
> - after moving away the last user of post_save (tmp105), this vmstate
>callback is dropped
> - introduction of an instance ID alias to vmstate, allowing to drop a few
>more explicit vmstate_register calls
Reviewed-by:
This series comes with two major contributions:
- after moving away the last user of post_save (tmp105), this vmstate
callback is dropped
- introduction of an instance ID alias to vmstate, allowing to drop a few
more explicit vmstate_register calls
Jan Kiszka (6):
tmp105: Drop unused fau
Process INIT/SIPI requests and enable -smp > 1.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
kvm-all.c | 10 +-
kvm.h |2 ++
target-i386/kvm.c | 16
target-ppc/kvm.c |5 +
target-s390x/kvm.c |5 +
5 files
The following changes since commit 54d7cf136f040713095cbc064f62d753bff6f9d2:
doc: Clean up monitor command function index (2010-05-10 11:36:04 -0500)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu.git for_anthony
Alex Williamson (1):
pci:
From: Jan Kiszka
No device makes use of it anymore.
Signed-off-by: Jan Kiszka
---
hw/hw.h |1 -
savevm.c |3 ---
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index 328b704..2d39724 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -321,7 +321,6 @@ struct VMStat
The 'tarbin' Makefile rule doesn't include qemu-system-sparc64, but
should do, now that sparc64-softmmu is in the default target list.
The rule attempts to tar up binaries that were not built if a target
list was passed to the configure script -- in which case, it will
either fail, or otherwise in
Hi all,
I finally refreshed some of my monitor patches. PCI and HPET patches
(attached, they don't apply anymore) need more work because of the new
monitor design.
The patches provide a method for devices to register new monitor
commands. This fixes some design problems, like useless
pic_info/irq
Signed-off-by: Marcelo Tosatti
Signed-off-by: Avi Kivity
---
cpus.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/cpus.c b/cpus.c
index 53226b3..5afdb4a 100644
--- a/cpus.c
+++ b/cpus.c
@@ -454,8 +454,7 @@ void qemu_cpu_kick(void *_env)
{
CPUState *env = _e
resend by git send-email to avoid line-wrapping
Signed-off-by: Huacai Chen
---
Makefile.objs|1 +
default-configs/mips64el-softmmu.mak |1 +
hw/ide.h |1 +
hw/ide/via.c | 185
We need to be able to do nothing in AIO fashion. Since I suspect this
could be useful for more cases than the non flushing, I figured I'd
create a new function that does everything AIO-like, but doesn't do
anything.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- remove stray define
- make a
On 2010/05/12 23:28, Avi Kivity wrote:
> On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
>> This patch calls the close handler of the block driver before the qemu
>> process exits.
>>
>> This is necessary because the sheepdog block driver releases the lock
>> of VM images in the close handler.
>>
>>
Signed-off-by: Blue Swirl
---
cpu-all.h |3 ---
monitor.c | 19 ---
qemu-monitor.hx|2 --
target-ppc/cpu.h |2 ++
target-ppc/helper.c|4
target-ppc/translate.c | 45 ++---
On 2010/05/12 20:38, Kevin Wolf wrote:
> Am 12.05.2010 12:46, schrieb MORITA Kazutaka:
>> Hi all,
>>
>> This patch adds a block driver for Sheepdog distributed storage
>> system. Please consider for inclusion.
>>
>> Sheepdog is a distributed storage system for QEMU. It provides highly
>> availabl
On 2010/05/12 23:01, Christoph Hellwig wrote:
> On Wed, May 12, 2010 at 07:46:52PM +0900, MORITA Kazutaka wrote:
>> This patch calls the close handler of the block driver before the qemu
>> process exits.
>>
>> This is necessary because the sheepdog block driver releases the lock
>> of VM images in
Gautham R Shenoy wrote:
> This patch makes the paio subsystem use the generic work offloading
> infrastructure.
>
> The patch has been tested with fstress.
>
> Signed-off-by: Gautham R Shenoy
Gauthem, surprisingly this makes the code really readable.
Few comments below.
> ---
> posix-aio-co
101 - 146 of 146 matches
Mail list logo