Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:12 +0100
Markus Armbruster arm...@redhat.com wrote:
Why this is such a big job? There are two issues with a naive
conversion:
* Error message degradation
[...]
* String argument with option syntax, i.e.
Hi all,
I want to know about Intel PXA270 System-on-chip emulation in QEMU. Does this
emulation includes USB client controller emulation?
Actually I've a USB device application developed using Linux USB Gadget
framework and I want to emulate this on QEMU but I am unable to find any USB
On 02/28/10 02:38, Paul Brook wrote:
Usually guests use the keyboard leds to signal the capslock and numlock
state to the user, so we can use this to better keep track of capslock
and numlock state in the qemu vnc server.
Isn't this going to break horribly when my guest starts flashing the
On 02/28/10 02:45, Paul Brook wrote:
On 02/25/10 11:23, Markus Armbruster wrote:
You're supposed to use scsi-generic for that. Which rejects anything
but /dev/sg*.
Well, it isn't *that* easy. The SG_IO ioctl used by scsi-generic works
on tons of devices in linux, not only /dev/sg*. I've
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:23 +0100
Markus Armbruster arm...@redhat.com wrote:
Signed-off-by: Markus Armbruster arm...@redhat.com
---
hw/scsi-bus.c |2 +-
hw/scsi-disk.c|3 +--
hw/scsi-generic.c |1 +
hw/usb-serial.c
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:24 +0100
Markus Armbruster arm...@redhat.com wrote:
FIXME They should return int, so callers can calculate width.
Signed-off-by: Markus Armbruster arm...@redhat.com
---
qemu-error.c | 49
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:25 +0100
Markus Armbruster arm...@redhat.com wrote:
This fixes a few error messages lacking a newline:
net_handle_fd_param()'s No file descriptor named %s found, and
tap_open()'s vnet_hdr=1 requested, but no kernel
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:27 +0100
Markus Armbruster arm...@redhat.com wrote:
qdev_device_help() prints device information with qemu_error(). A
later commit will make qemu_error() print additional stuff that is
only appropriate for proper
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:29 +0100
Markus Armbruster arm...@redhat.com wrote:
New struct Location holds a location. So far, the only location is
LOC_NONE, so this doesn't do anything useful yet.
Passing the current location all over the
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:47 +0100
Markus Armbruster arm...@redhat.com wrote:
Signed-off-by: Markus Armbruster arm...@redhat.com
---
monitor.c |5 +
monitor.h |2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:55 +0100
Markus Armbruster arm...@redhat.com wrote:
FIXME Only string options are implemented.
Signed-off-by: Markus Armbruster arm...@redhat.com
---
qemu-option.c | 54
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:56:00 +0100
Markus Armbruster arm...@redhat.com wrote:
Signed-off-by: Markus Armbruster arm...@redhat.com
---
hw/qdev.c | 29 +
hw/qdev.h |2 +-
qemu-monitor.hx |3
On 14.09.2009, at 15:31, Yan Vugenfirer wrote:
Signed-off-by: Yan Vugenfirer yvuge...@redhat.com
---
hw/virtio-pci.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index f812ab7..a0a22c4 100644
---
On Mon, Mar 01, 2010 at 12:14:43PM +0100, Alexander Graf wrote:
On 14.09.2009, at 15:31, Yan Vugenfirer wrote:
Signed-off-by: Yan Vugenfirer yvuge...@redhat.com
---
hw/virtio-pci.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git
On Sat, Feb 27, 2010 at 09:20:28AM -0700, David S. Ahern wrote:
Date: Sat, 27 Feb 2010 09:20:28 -0700
From: David S. Ahern daah...@cisco.com
To: Shahar Havivi shah...@redhat.com
CC: qemu-devel@nongnu.org, Dor Laor dl...@redhat.com
Subject: Re: [Qemu-devel] [PATCH] Restore terminal attributes
On 02/26/2010 07:32 PM, Paul Brook wrote:
You could still use them for local register variables, but I can prepare
a patch to remove them (unless you do that yourself).
I'm not sure what you mean by a local register variable.
I'm thinking of using
register blah blah asm(AREG1);
as a
On 03/01/2010 09:54 AM, Markus Armbruster wrote:
Luiz Capitulinolcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:24 +0100
Markus Armbrusterarm...@redhat.com wrote:
FIXME They should return int, so callers can calculate width.
Signed-off-by: Markus Armbrusterarm...@redhat.com
---
On 02/26/2010 07:32 PM, Paul Brook wrote:
You could still use them for local register variables, but I can
prepare a patch to remove them (unless you do that yourself).
I'm not sure what you mean by a local register variable.
I'm thinking of using
register blah blah
ARMv7 has a simplified access permissions model that is enabled
by setting the AFE bit of the SCTLR. This patch adds checking
for permission values for when this mode is selected.
This is already implemented.
Paul
On Mon, 01 Mar 2010 08:59:38 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
[...]
We didn't expose 'info', for example, because
having a command (or 'remote procedure') returning all sorts of possible
data is
On Mon, 01 Mar 2010 09:54:32 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:24 +0100
Markus Armbruster arm...@redhat.com wrote:
FIXME They should return int, so callers can calculate width.
Signed-off-by:
On Mon, 01 Mar 2010 10:05:18 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:27 +0100
Markus Armbruster arm...@redhat.com wrote:
qdev_device_help() prints device information with qemu_error(). A
later commit
On Mon, 01 Mar 2010 10:19:22 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:29 +0100
Markus Armbruster arm...@redhat.com wrote:
New struct Location holds a location. So far, the only location is
LOC_NONE, so
On Mon, 01 Mar 2010 10:19:49 +0100
Markus Armbruster arm...@redhat.com wrote:
Luiz Capitulino lcapitul...@redhat.com writes:
On Wed, 24 Feb 2010 18:55:47 +0100
Markus Armbruster arm...@redhat.com wrote:
Signed-off-by: Markus Armbruster arm...@redhat.com
---
monitor.c |5
There's a return missing in the srs handling which leads to srs always being
treated an an invalid op.
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-arm/translate.c
Setting the boot CPU ID is arch-specific KVM stuff. So push it where it
belongs to.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/pc.c|3 ---
qemu-kvm-x86.c |3 ++-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 58c32ea..d819fca
Do not write nmi_pending, sipi_vector, and mpstate unless we at least go
through a reset. And TSC as well as KVM wallclocks should only be
written on full sync, otherwise we risk to drop some time on during
state read-modify-write.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
kvm.h
Push mpstate reading/writing into kvm_arch_load/save_regs and, on x86,
properly synchronize with halted in the accessor functions.
At this chance, drop the special reset of interrupt_request and halted
in kvm_arch_cpu_reset. The former is done via memset in cpu_reset, the
latter in
The APIC is part of the VCPU state, so trigger its readout and writeback
from kvm_arch_save/load_regs. Thanks to the transparent sync on reset
and vmsave/load, we can also drop explicit sync code, reducing the diff
to upstream.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/apic.c
This grand cleanup drops all reset and vmsave/load related
synchronization points in favor of four(!) generic hooks:
- cpu_synchronize_all_states in qemu_savevm_state_complete
(initial sync from kernel before vmsave)
- cpu_synchronize_all_post_init in qemu_loadvm_state
(writeback after
Push reading/writing of vcpu_events into kvm_arch_load/save_regs to
avoid KVM-specific hooks in generic code.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
kvm.h |2 --
qemu-kvm-x86.c|6 --
target-i386/kvm.c |4 ++--
target-i386/machine.c |6
Drop kvm_load_tsc in favor of level-dependent writeback in
kvm_arch_load_regs. KVM's PV clock MSRs fall in the same category and
should therefore only be written back on full sync.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
qemu-kvm-x86.c| 27 +--
This add-on patch to recent guest debugging refactorings adds the
requested awareness for KVM_CAP_X86_ROBUST_SINGLESTEP to both the
upstream as well as qemu-kvm's own code. Fortunately, code sharing
increased once again.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
kvm-all.c |
There is no need for the this hack anymore, initialization is now robust
against reordering as it doesn't try to write the VCPU state on its own.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/pc.c |5 -
target-i386/helper.c |2 ++
2 files changed, 2
Jan Kiszka wrote:
Rebased over latest master.
Oh, and I added that TSC issue workaround to patch 7. My memory...
Jan
Pull URL is
git://git.kiszka.org/qemu-kvm.git queues/queues-kvm-merge
Jan Kiszka (10):
qemu-kvm: Add KVM_CAP_X86_ROBUST_SINGLESTEP-awareness
qemu-kvm:
Anthony Liguori schrieb:
On 02/14/2010 10:16 AM, Stefan Weil wrote:
When debug output was enabled (by defining DEBUG_EEPRO100),
some debug messages resulted in a compiler error.
This is fixed here.
Signed-off-by: Stefan Weilw...@mail.berlios.de
Michael,
Can you take these through
This is the corresponding uq/master series to [1]. Should allow smooth
re-sync with upstream once merged.
Pull URL is
git://git.kiszka.org/qemu-kvm.git queues/kvm-upstream
[1] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/47706
Jan Kiszka (4):
KVM: Rework of guest debug
Do not write nmi_pending, sipi_vector, and mpstate unless we at least go
through a reset. And TSC as well as KVM wallclocks should only be
written on full sync, otherwise we risk to drop some time on state
read-modify-write.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
target-i386/kvm.c
This grand cleanup drops all reset and vmsave/load related
synchronization points in favor of four(!) generic hooks:
- cpu_synchronize_all_states in qemu_savevm_state_complete
(initial sync from kernel before vmsave)
- cpu_synchronize_all_post_init in qemu_loadvm_state
(writeback after
As we hard-wire the BSP to CPU 0 anyway and cpuid_apic_id equals
cpu_index, bsp_to_cpu can also be based on the latter directly. This
will help an early user of it: KVM while initializing mp_state.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/pc.c |3 ++-
1 files changed, 2
So far we synchronized any dirty VCPU state back into the kernel before
updating the guest debug state. This was a tribute to a deficite in x86
kernels before 2.6.33. But as this is an arch-dependent issue, it is
better handle in the x86 part of KVM and remove the writeback point for
generic code.
We've just seen another VNC related qemu-kvm crash, this time an arithmetic
exception at vnc.c:1424 in the newly release qemu-kvm 0.12.3.
[...]
1423 if (vs-absolute) {
1424 kbd_mouse_event(x * 0x7FFF / (ds_get_width(vs-ds) - 1),
1425 y * 0x7FFF /
On Sun, Feb 28, 2010 at 10:39:21PM +, Paul Brook wrote:
I'm sympathetic to your arguments though. As qemu is today, the above
is definitely the right thing to do. But ram is always ram and ram
always has a fixed (albeit non-linear) mapping within a guest.
I think this assumption is
From 1e505c8434d42f9b4fb1cc60934f856ffc06b476 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov ma...@codesourcery.com
Date: Mon, 1 Mar 2010 02:35:53 -0800
Subject: [PATCH 1/4] Add NPTL support for ColdFire
Add emulation of new m68k syscalls that provide kernel support for NPTL.
Signed-off-by:
From a659ff77804712826c1c1fe739339f1b1a172ed6 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov ma...@codesourcery.com
Date: Mon, 1 Mar 2010 02:39:48 -0800
Subject: [PATCH 2/4] Handle SIGKILL and SIGCHLD
Handle SIGKILL and SIGCHLD in linux user-space emulation.
Signed-off-by: Maxim Kuvyrkov
From 1450a09c513a3051e3cf44d948983fe48ef368e0 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov ma...@codesourcery.com
Date: Mon, 1 Mar 2010 02:48:31 -0800
Subject: [PATCH 3/4] Fix signal handling for ColdFire
Handle FPU registers.
Pack structures that contain 16-bit fields. This avoid problems
From c65168b123032ef2ab10c90254e4ac8bc6cb0120 Mon Sep 17 00:00:00 2001
From: Maxim Kuvyrkov ma...@codesourcery.com
Date: Mon, 1 Mar 2010 02:51:10 -0800
Subject: [PATCH 4/4] Define MMAP_SHIFT for ColdFire
ColdFire has MMAP_SHIFT equal to TARGET_PAGE_BITS.
Signed-off-by: Maxim Kuvyrkov
The following series of 4 patches adds NPTL support for ColdFire
user-mode emulation and fixes several related issues, mainly in signal
handling.
0001-Add-NPTL-support-for-ColdFire.patch
Implement new kernel syscalls to support TLS storage and synchronization
(merged to 2.6.34 kernel)
On Mon, Mar 01, 2010 at 06:17:19PM +0100, Jan Kiszka wrote:
Rebased over latest master.
Pull URL is
git://git.kiszka.org/qemu-kvm.git queues/queues-kvm-merge
Jan Kiszka (10):
qemu-kvm: Add KVM_CAP_X86_ROBUST_SINGLESTEP-awareness
qemu-kvm: Rework VCPU state writeback API
Hello Jan and Taimoor,
On Mon, Feb 15, 2010 at 9:36 AM, Jan Kiszka jan.kis...@siemens.com wrote:
I downloaded version 0.12.2 of QEMU and I am unable to find EHCI
support in it. Does QEMU support EHCI emulation? Do I need to
download some other patch for it? QEMU documentation also does not
Signed-off-by: Stefan Weil w...@mail.berlios.de
---
configure |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index dfe3e42..a14aba7 100755
--- a/configure
+++ b/configure
@@ -1091,8 +1091,8 @@ EOF
# static link with sdl ? (note: sdl.pc's
Niels de Vos wrote:
Hello Jan and Taimoor,
On Mon, Feb 15, 2010 at 9:36 AM, Jan Kiszka jan.kis...@siemens.com wrote:
I downloaded version 0.12.2 of QEMU and I am unable to find EHCI
support in it. Does QEMU support EHCI emulation? Do I need to
download some other patch for it? QEMU
These files are created by configure and grow
unnecessarily at each new call of configure:
roms/seabios/config.mak
roms/vgabios/config.mak
libhw32/config.mak
libhw64/config.mak
libhw32/config.mak and libhw64/config.mak set
compiler options, and the wrong old code results
in very long command
While trying to implement setcond on TCG ARM, I have discovered it does
not work anymore. I have bisected this regression to:
commit 6113d6d3169393c323ac4c82d756a850145a5e7a
Author: Paolo Bonzini pbonz...@redhat.com
Date: Fri Jan 15 09:42:09 2010 +0100
change while to if
The while
This patch series fix a bug in div2/divu2 ops, implement setcond
and setcond2 ops and improve brcond/setcond by allowing immediate
constants.
I have tested it using a modified version of target-mips/translate.c
which includes setcond ops, and running mips-linux-user binaries. The
first fixes
When restoring register values, increase the stack register for skipped
values.
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/arm/tcg-target.c | 30 --
1 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/tcg/arm/tcg-target.c
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/arm/tcg-target.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
index 9a76ecb..d743dbc 100644
--- a/tcg/arm/tcg-target.c
+++ b/tcg/arm/tcg-target.c
@@
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
---
tcg/arm/tcg-target.c | 26 --
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c
index d743dbc..63f84c3 100644
--- a/tcg/arm/tcg-target.c
+++
On 03/01/2010 01:27 PM, Michael S. Tsirkin wrote:
On Sun, Feb 28, 2010 at 10:39:21PM +, Paul Brook wrote:
I'm sympathetic to your arguments though. As qemu is today, the above
is definitely the right thing to do. But ram is always ram and ram
always has a fixed (albeit non-linear)
On 03/01/2010 10:33 PM, Aurelien Jarno wrote:
While trying to implement setcond on TCG ARM, I have discovered it does
not work anymore. I have bisected this regression to:
commit 6113d6d3169393c323ac4c82d756a850145a5e7a
Author: Paolo Bonzinipbonz...@redhat.com
Date: Fri Jan 15 09:42:09 2010
Hi Paul,
Thank you for reviewing.
On Sun, Feb 28, 2010 at 01:28:16AM +, Paul Brook wrote:
IMHO it would be better to check the mem_path != NULL here, rather that
burying the check in file_ram_alloc.
+if (memory hpagesize) {
+return NULL;
+}
Ah, so it's actually
On Mon, Mar 01, 2010 at 08:25:08PM -0300, Marcelo Tosatti wrote:
Hi Paul,
Thank you for reviewing.
On Sun, Feb 28, 2010 at 01:28:16AM +, Paul Brook wrote:
IMHO it would be better to check the mem_path != NULL here, rather that
burying the check in file_ram_alloc.
+if
On Mon, Mar 01, 2010 at 11:33:23PM +0100, Paolo Bonzini wrote:
On 03/01/2010 10:33 PM, Aurelien Jarno wrote:
While trying to implement setcond on TCG ARM, I have discovered it does
not work anymore. I have bisected this regression to:
commit 6113d6d3169393c323ac4c82d756a850145a5e7a
Author:
The rfe instruction can be used with any register, not just sp. Adjust the
condition check accordingly.
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de
---
target-arm/translate.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-arm/translate.c
On Mon, Mar 01, 2010 at 07:10:30PM +0100, Jan Kiszka wrote:
This grand cleanup drops all reset and vmsave/load related
synchronization points in favor of four(!) generic hooks:
- cpu_synchronize_all_states in qemu_savevm_state_complete
(initial sync from kernel before vmsave)
-
- Shared memory transport
Please send in any additional agenda items you are interested in covering.
thanks,
-chris
Hi all,
I found that QEMU 0.12.x break Windows NT 3.51 for i386 installation.
Before 0.12, which use Bochs BIOS, in the beginning of second stage
setup, after loading keyboard driver Installer will switch screen to
80x50 text mode, trun screen in blue and showing Startup banner. But
in 0.12,
Hi, my name is haeil.
I want to port QEMU on the ARM11 platform. I think, many developers try to
this work.
So, Can I get the QEMU source code for ARM host platform? Or anything
information about related work?
if you have any idea, please let me know.
regards.
-heail
Mac OS X 0.12.2 following:
zeus:Apple_Service_Diagnostic claunia$ qemu-system-ppc -M prep
qemu: hardware error: PowerPC 601 / 620 / 970 need a 1MB BIOS
CPU #0:
NIP LR CTR XER
MSR HID0 HF idx 0
TB DECR
2010/3/2 Roy Tam roy...@gmail.com:
Hi all,
I found that QEMU 0.12.x break Windows NT 3.51 for i386 installation.
Before 0.12, which use Bochs BIOS, in the beginning of second stage
setup, after loading keyboard driver Installer will switch screen to
80x50 text mode, trun screen in blue and
On 03/01/2010 06:46 PM, Chris Wright wrote:
- Shared memory transport
- Ram area allocations
- Request for 0.13 feature review/update [1]
[1] http://wiki.qemu.org/Features/0.13
Regards,
Anthony Liguori
Please send in any additional agenda items you are interested in covering.
thanks,
Hello qemu devs,
I'm recently playing with QEMU for my research project. I think I've
found a bug on my way, and I have my patch solving it. I wonder if there
is a formal procedure to follow in order to file a bug report?
Thanks!
-Xin
Hpet hangs QEMU when icount is present. I don't know if this is a
universal problem. The cause is that for periodical timers, hpet_timer
function tries to insert the timer back to the active timers queue,
using an updated expire time. However, before the update, if the expire
time is equal to
73 matches
Mail list logo