Re: [Qemu-devel] Lack of codes in logging

2012-05-29 Thread Wei-Ren Chen
On Tue, May 29, 2012 at 12:25:51AM -0400, Yue Chen wrote: Do you know how to use that? When I use log(-d) exec and log(-d) pcall, the qemu.log is always empty. `qemu -d in_asm,exec` will do. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science,

Re: [Qemu-devel] Lack of codes in logging

2012-05-29 Thread Max Filippov
On Tue, May 29, 2012 at 8:25 AM, Yue Chen ycyc...@gmail.com wrote: Do you know how to use that? When I use log(-d) exec and log(-d) pcall, the qemu.log is always empty. AFAIK exec only prints execution trace in the debug build of QEMU. -- Thanks. -- Max

Re: [Qemu-devel] nested page table translation for non-x86 operating system

2012-05-29 Thread Wei-Ren Chen
Hi Xin Tong, On Fri, Jan 20, 2012 at 08:54:12AM -0500, Xin Tong wrote: On Fri, Jan 20, 2012 at 3:23 AM, 陳韋任 che...@iis.sinica.edu.tw wrote: 1. The control of gCR3 and hCR3 needs kernel access. While they can be set with a device module as what is done in kvm. Trapping into the kernel

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Gerd Hoffmann
Hi, # Include automatically generated dependency files --include $(wildcard *.d audio/*.d slirp/*.d block/*.d net/*.d ui/*.d qapi/*.d qga/*.d) +-include $(wildcard *.d audio/*.d slirp/*.d block/*.d net/*.d ui/*.d qapi/*.d qga/*.d qom/*.d) I wonder if, independently of QOM, we also

Re: [Qemu-devel] [PATCH v2] hmp/qxl: info spice: add qxl info

2012-05-29 Thread Gerd Hoffmann
Hi, How would that work? I have QXLInfo that only makes sense when the information is about a qxl device. Can't have opaque data in a QMP response, so would this be a info display qxl info display cirrus etc. or info qxl? You could show what's available and/or being used currently. I

[Qemu-devel] [PULL] slirp: Various build fixes

2012-05-29 Thread Jan Kiszka
The following changes since commit 24f50d7ea5896a30b0e78f68884586bb8b40ff97: tcg/ppc: Handle _CALL_DARWIN being undefined on Darwin (2012-05-27 21:52:56 +0400) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Andreas Färber (3): slirp: Untangle

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 09:05, Gerd Hoffmann ha scritto: I wonder if, independently of QOM, we also need to consider... - qapi-generated/*.d, - usb/*.d and - tests/*.d? Maybe we should just stop spreading the dep files over all directories? RfC patch attached. This could in principle break, like

Re: [Qemu-devel] [PATCH v2] hmp/qxl: info spice: add qxl info

2012-05-29 Thread Alon Levy
On Tue, May 29, 2012 at 09:25:40AM +0200, Gerd Hoffmann wrote: Hi, How would that work? I have QXLInfo that only makes sense when the information is about a qxl device. Can't have opaque data in a QMP response, so would this be a info display qxl info display cirrus etc. or info qxl?

Re: [Qemu-devel] [PATCH v3 00/16] net: hub-based networking

2012-05-29 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 28 May 2012 12:17:04 +0100 Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: What we need to decide is whether it's okay to drop QEMU VLANs completely and change dump command-line syntax? I'd vote for dropping it. I think vlan-hub

Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server?

2012-05-29 Thread Fabian Holler
Hello Erik, I'm experiencing the same issues. When using the QEMU VNC server (which I would prefer to Remote Desktop or a VNC server installed on the guest) I get problems when pressing special character keys on the remote keyboard. QEMU reports on the console: Warning: no scancode found for

[Qemu-devel] qemu xhci mini howto (was: Re: [ANNOUNCE] qemu-kvm-1.1-rc3)

2012-05-29 Thread Gerd Hoffmann
On 05/28/12 11:30, Avi Kivity wrote: On 05/25/2012 11:36 AM, Veruca Salt wrote: Avi- would love to test out 1.1, as we are currently using the ehci method which has been frozen at 'experimental' for so long. Is there any user documentation on the xhci methods? Copying qemu-devel, where

Re: [Qemu-devel] KVM call agenda for Tuesday, May 29th

2012-05-29 Thread Anthony Liguori
On 05/28/2012 06:20 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. I'm in China for the next two weeks and this time is now pretty inconvenient. Unless there's anything that requires urgent discussion on the phone, I'd prefer to just handle

Re: [Qemu-devel] [PULL 1.1 0/2] SCSI patches for 1.1.0-rc3

2012-05-29 Thread Anthony Liguori
On 05/28/2012 01:46 AM, Paolo Bonzini wrote: Il 26/05/2012 11:18, ronnie sahlberg ha scritto: I have compiled your branch and run through some tests. It all looks good as long as you apply the patch to #include hw/scsi-defs.h Thanks, I updated the scsi-next branch. So should I expect a new

[Qemu-devel] [PULL 0/6] updated SCSI changes for 1.1.0-rc4

2012-05-29 Thread Paolo Bonzini
The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit (2012-05-24 19:35:27 +0400) are available in the git repository at: git://github.com/bonzini/qemu.git scsi-next for you to fetch changes up to

[Qemu-devel] [PATCH 1/6] scsi: declare vmstate_info_scsi_requests to be static

2012-05-29 Thread Paolo Bonzini
From: Jim Meyering meyer...@redhat.com Signed-off-by: Jim Meyering meyer...@redhat.com --- hw/scsi-bus.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index 8ab9bcd..f10f3ec 100644 --- a/hw/scsi-bus.c +++ b/hw/scsi-bus.c @@ -1561,7 +1561,7

[Qemu-devel] [PATCH 2/6] ISCSI: redo how we set up the events

2012-05-29 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com Call qemu_notify_event() after updating events. Otherwise, If we add an event for -is-writeable but the socket is already writeable there may be a delay before the event callback is actually triggered. Those delays would in particular hurt

Re: [Qemu-devel] [PULL 1.1 0/2] SCSI patches for 1.1.0-rc3

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 11:15, Anthony Liguori ha scritto: It all looks good as long as you apply the patch to #include hw/scsi-defs.h Thanks, I updated the scsi-next branch. So should I expect a new branch for this pull? No, same branch, one more patch. I just sent the pull request again. Paolo

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Andreas Färber
Am 29.05.2012 09:44, schrieb Paolo Bonzini: Il 29/05/2012 09:05, Gerd Hoffmann ha scritto: I wonder if, independently of QOM, we also need to consider... - qapi-generated/*.d, - usb/*.d and - tests/*.d? Maybe we should just stop spreading the dep files over all directories? RfC patch

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Andreas Färber
Am 29.05.2012 09:05, schrieb Gerd Hoffmann: - rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d qapi/*.o qapi/*.d qga/*.o qga/*.d - rm -f qom/*.o qom/*.d + rm -f slirp/*.o audio/*.o block/*.o net/*.o fsdev/*.o

[Qemu-devel] [PATCH 4/6] ISCSI: get device type at connection time

2012-05-29 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com This is needed to avoid READ CAPACITY(16) for MMC devices. Signed-off-by: Ronnie Sahlberg ronniesahlb...@gmail.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- block/iscsi.c | 45 +++-- 1 file

[Qemu-devel] [PATCH 3/6] ISCSI: change num_blocks to 64-bit

2012-05-29 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- block/iscsi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/iscsi.c b/block/iscsi.c index db41bb7..9cd258f 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -38,7 +38,7 @@ typedef struct IscsiLun { struct

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: -rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d qapi/*.o qapi/*.d qga/*.o qga/*.d -rm -f qom/*.o qom/*.d +rm -f

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Andreas Färber
Am 29.05.2012 11:43, schrieb Paolo Bonzini: Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: - rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d qapi/*.o qapi/*.d qga/*.o qga/*.d

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Anthony Liguori
On 05/29/2012 04:47 AM, Andreas Färber wrote: Am 29.05.2012 11:43, schrieb Paolo Bonzini: Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: - rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d

[Qemu-devel] [PATCH 6/6] ISCSI: Switch to using READ16/WRITE16 for I/O to the LUN

2012-05-29 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com This allows using LUNs bigger than 2TB. Keep using READ10 for other device types such as MMC. Signed-off-by: Ronnie Sahlberg ronniesahlb...@gmail.com --- block/iscsi.c | 112 ++--- trace-events

[Qemu-devel] [PATCH 1/2] arch_init: Fix AltiVec build on Darwin/ppc

2012-05-29 Thread Andreas Färber
Commit f29a56147b66845914d0a645bf9b4c5bb9a6af57 (implement -no-user-config command-line option (v3)) introduced uses of bool in arch_init.c. Shortly before that usage is support code for AltiVec (conditional to __ALTIVEC__). GCC's altivec.h may in a !__APPLE_ALTIVEC__ code path redefine bool,

[Qemu-devel] [PULL 1.1] Cocoa patch queue for v1.1 2012-05-29

2012-05-29 Thread Andreas Färber
Hello Anthony, Please pull the Cocoa queue into qemu.git master: One general build fix for Darwin/ppc, one behavioral fix for make check with Cocoa. The following changes since commit 24f50d7ea5896a30b0e78f68884586bb8b40ff97: tcg/ppc: Handle _CALL_DARWIN being undefined on Darwin (2012-05-27

[Qemu-devel] [PATCH 2/2] cocoa: Suppress Cocoa frontend for -qtest

2012-05-29 Thread Andreas Färber
Signed-off-by: Andreas Färber andreas.faer...@web.de --- ui/cocoa.m |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index e7d6e89..2383646 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -879,7 +879,8 @@ int main (int argc, const char * argv[]) {

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 11:47, Andreas Färber ha scritto: Am 29.05.2012 11:43, schrieb Paolo Bonzini: Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: - rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Andreas Färber
Am 29.05.2012 11:50, schrieb Anthony Liguori: On 05/29/2012 04:47 AM, Andreas Färber wrote: Am 29.05.2012 11:43, schrieb Paolo Bonzini: Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: -rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o

Re: [Qemu-devel] [PATCH for-1.1] Makefile: Fix QOM dependencies

2012-05-29 Thread Anthony Liguori
On 05/29/2012 05:01 AM, Paolo Bonzini wrote: Il 29/05/2012 11:47, Andreas Färber ha scritto: Am 29.05.2012 11:43, schrieb Paolo Bonzini: Il 29/05/2012 11:28, Andreas Färber ha scritto: Am 29.05.2012 09:05, schrieb Gerd Hoffmann: - rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o

[Qemu-devel] [PATCH 5/6] ISCSI: Only call READCAPACITY16 for SBC devices, use READCAPACITY10 for MMC

2012-05-29 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com Signed-off-by: Ronnie Sahlberg ronniesahlb...@gmail.com --- block/iscsi.c | 64 - 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index

[Qemu-devel] [PATCH 1.1] xhci: add usage info to docs

2012-05-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- docs/usb2.txt | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/docs/usb2.txt b/docs/usb2.txt index 228aa33..d17e3c0 100644 --- a/docs/usb2.txt +++ b/docs/usb2.txt @@ -55,6 +55,21 @@ try ... ... then use

[Qemu-devel] [Bug 1003054] Re: Socket not closed when a connection ends

2012-05-29 Thread Vincent Autefage
This implies serious duplication problem in case of reboot : A [192.168.0.1] -- B [192.168.0.2] A# ping 192.168.0.1 PING 192.168.0.1 56(84) bytes of data 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=3.82 ms 64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=0.344 ms 64 bytes from

[Qemu-devel] [PATCH 0/3][v17] megasas: LSI Megaraid SAS HBA emulation

2012-05-29 Thread Hannes Reinecke
This is an updated patchset for megasas. Upon popular demand I've split it into three parts, the header file, the emulation itself, and a patch adding trace events to the emulation. Paolo, can you merge it via your tree? Or should I ask someone else? Changes since v17: - Fix crash when booting

[Qemu-devel] [PATCH 1/3] megasas: Add header file

2012-05-29 Thread Hannes Reinecke
This patch adds the header file for megasas. Signed-off-by: Hannes Reinecke h...@suse.de --- hw/mfi.h | 1248 ++ 1 files changed, 1248 insertions(+), 0 deletions(-) create mode 100644 hw/mfi.h diff --git a/hw/mfi.h b/hw/mfi.h new file

[Qemu-devel] [PATCH 3/3] megasas: Add trace events

2012-05-29 Thread Hannes Reinecke
This patch add trace events to the megasas HBA emulation. Signed-off-by: Hannes Reinecke h...@suse.de --- hw/megasas.c | 348 +- trace-events | 79 + 2 files changed, 377 insertions(+), 50 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 3/3] qapi: convert sendkey

2012-05-29 Thread Amos Kong
On 05/25/2012 09:14 PM, Anthony Liguori wrote: On 05/24/2012 10:51 PM, Eric Blake wrote: On 05/24/2012 09:32 PM, Amos Kong wrote: Convert 'sendkey' to use. do_sendkey() depends on some variables in monitor.c, so reserve qmp_sendkey() to monitor.c Rename 'string' to 'keys', rename 'hold_time'

Re: [Qemu-devel] qtest: setitimer() failures on Darwin and illumos

2012-05-29 Thread Stefano Stabellini
On Mon, 28 May 2012, Paolo Bonzini wrote: Il 28/05/2012 21:40, Andreas Färber ha scritto: I'm seeing qemu-timer.c:unix_rearm_timer()'s setitimer() abort with EINVAL during `make check` on both platforms. The value of nearest_delta_ns appears to be INT64_MAX. Is this expected? Is it

Re: [Qemu-devel] [PATCH 3/3] qapi: convert sendkey

2012-05-29 Thread Amos Kong
On 05/29/2012 07:57 PM, Amos Kong wrote: On 05/25/2012 09:14 PM, Anthony Liguori wrote: On 05/24/2012 10:51 PM, Eric Blake wrote: On 05/24/2012 09:32 PM, Amos Kong wrote: Convert 'sendkey' to use. do_sendkey() depends on some variables in monitor.c, so reserve qmp_sendkey() to monitor.c

Re: [Qemu-devel] qtest: setitimer() failures on Darwin and illumos

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 14:01, Stefano Stabellini ha scritto: On Mon, 28 May 2012, Paolo Bonzini wrote: Il 28/05/2012 21:40, Andreas Färber ha scritto: I'm seeing qemu-timer.c:unix_rearm_timer()'s setitimer() abort with EINVAL during `make check` on both platforms. The value of nearest_delta_ns appears

Re: [Qemu-devel] [PATCH 0/3][v17] megasas: LSI Megaraid SAS HBA emulation

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 13:51, Hannes Reinecke ha scritto: This is an updated patchset for megasas. Upon popular demand I've split it into three parts, the header file, the emulation itself, and a patch adding trace events to the emulation. Paolo, can you merge it via your tree? Or should I ask

[Qemu-devel] [PATCH] ANSI escape characters support for Windows console

2012-05-29 Thread Pavel Dovgaluk
This patch adds support of ANSI escape characters used in readline module to impelementation of stdio character device for Windows. Signed-off-by: Pavel Dovgalyuk pavel.dovga...@gmail.com --- qemu-char.c | 48 ++-- 1 files changed, 38 insertions(+),

Re: [Qemu-devel] qtest: setitimer() failures on Darwin and illumos

2012-05-29 Thread Andreas Färber
Am 28.05.2012 22:15, schrieb Paolo Bonzini: Il 28/05/2012 21:40, Andreas Färber ha scritto: I'm seeing qemu-timer.c:unix_rearm_timer()'s setitimer() abort with EINVAL during `make check` on both platforms. The value of nearest_delta_ns appears to be INT64_MAX. Is this expected? Is it possible

Re: [Qemu-devel] [PATCH 3/3] qapi: convert sendkey

2012-05-29 Thread Luiz Capitulino
On Tue, 29 May 2012 20:17:53 +0800 Amos Kong ak...@redhat.com wrote: On 05/29/2012 07:57 PM, Amos Kong wrote: On 05/25/2012 09:14 PM, Anthony Liguori wrote: On 05/24/2012 10:51 PM, Eric Blake wrote: On 05/24/2012 09:32 PM, Amos Kong wrote: Convert 'sendkey' to use. do_sendkey() depends

[Qemu-devel] [PATCH v3] Prevent disk data loss when closing qemu

2012-05-29 Thread Pavel Dovgaluk
Prevent disk data loss when closing qemu console window under Windows 7. v3. Comment for Sleep() parameter was updated. Signed-off-by: Pavel Dovgalyuk pavel.dovga...@gmail.com --- os-win32.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/os-win32.c b/os-win32.c

Re: [Qemu-devel] [PATCH 1.1 v2] Prevent disk data loss when closing qemu

2012-05-29 Thread Pavel Dovgaluk
From: Anthony Liguori [mailto:anth...@codemonkey.ws] Sent: Thursday, May 24, 2012 5:12 PM On 05/24/2012 05:10 AM, Paolo Bonzini wrote: Il 24/05/2012 09:42, Pavel Dovgaluk ha scritto: Prevent disk data loss when closing qemu console window under Windows 7. Signed-off-by: Pavel

[Qemu-devel] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Stefano Stabellini
qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls qemu_next_alarm_deadline, it always rearms the timer even if the next deadline is INT64_MAX. This patch simplifies the behavior of qemu_rearm_alarm_timer and

Re: [Qemu-devel] [PATCH v2] hmp/qxl: info spice: add qxl info

2012-05-29 Thread Luiz Capitulino
On Tue, 29 May 2012 09:25:40 +0200 Gerd Hoffmann kra...@redhat.com wrote: Hi, How would that work? I have QXLInfo that only makes sense when the information is about a qxl device. Can't have opaque data in a QMP response, so would this be a info display qxl info display cirrus etc.

Re: [Qemu-devel] KVM call agenda for Tuesday, May 29th

2012-05-29 Thread Juan Quintela
Anthony Liguori anth...@codemonkey.ws wrote: On 05/28/2012 06:20 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. I'm in China for the next two weeks and this time is now pretty inconvenient. Unless there's anything that requires urgent discussion

Re: [Qemu-devel] [PATCH 5/9] unicore32-softmmu: initialize ucv2 cpu

2012-05-29 Thread guanxuetao
Am 28.05.2012 11:43, schrieb guanxue...@mprc.pku.edu.cn: Am 25.05.2012 13:29, schrieb Guan Xuetao: Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn --- target-unicore32/cpu.c | 17 + target-unicore32/cpu.h |2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff

Re: [Qemu-devel] [PATCH v2] hmp/qxl: info spice: add qxl info

2012-05-29 Thread Alon Levy
On Tue, May 29, 2012 at 10:38:20AM -0300, Luiz Capitulino wrote: On Tue, 29 May 2012 09:25:40 +0200 Gerd Hoffmann kra...@redhat.com wrote: Hi, How would that work? I have QXLInfo that only makes sense when the information is about a qxl device. Can't have opaque data in a QMP

Re: [Qemu-devel] [PATCH 8/9] unicore32-softmmu: add config and makefile support

2012-05-29 Thread guanxuetao
Am 28.05.2012 12:08, schrieb guanxue...@mprc.pku.edu.cn: Am 25.05.2012 13:29, schrieb Guan Xuetao: This patch adds configure and makefile support for unicore32-softmmu. All puv3-soc devices are put into hw/pkunity directory, so this dir will be added when unicore32-softmmu is selected.

[Qemu-devel] OpenBIOS for v1.1.0

2012-05-29 Thread Andreas Färber
Hello Blue, commit 7d21dcc84b8c07918124a9c0708694d2fb013f65 Author: Blue Swirl blauwir...@gmail.com Date: Tue May 1 10:56:46 2012 + pc-bios: update OpenBIOS images Update OpenBIOS images to SVN r1056. Signed-off-by: Blue Swirl blauwir...@gmail.com updated the binaries to

Re: [Qemu-devel] [PATCH for-1.1] qemu-ga: Fix use of environ on Darwin

2012-05-29 Thread Michael Roth
On Sun, May 27, 2012 at 05:02:20PM +0200, Andreas Färber wrote: Use _NSGetEnviron() helper to access the environment. Signed-off-by: Andreas Färber andreas.faer...@web.de Cc: Charlie Somerville char...@charliesomerville.com --- Michael, can you please append this to your qemu-ga PULL?

Re: [Qemu-devel] Android Goldfish on QEMU

2012-05-29 Thread Jan Kiszka
On 2012-05-28 14:28, Stefan Hajnoczi wrote: On Sat, May 26, 2012 at 2:25 PM, 陳韋任 che...@iis.sinica.edu.tw wrote: On Sat, May 26, 2012 at 02:51:29PM +0200, Andreas Färber wrote: Am 26.05.2012 07:55, schrieb 陳韋任: On Fri, May 25, 2012 at 06:13:25PM -0400, Ira Ray Jenkins wrote: I found a GSOC11

Re: [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD

2012-05-29 Thread Michael Roth
On Thu, May 24, 2012 at 01:52:39PM -0500, Michael Roth wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit (2012-05-24 19:35:27 +0400) are available in the git repository at: git://github.com/mdroth/qemu.git

[Qemu-devel] [PATCH] linux-user: ARM: Ignore immediate value for svc in thumb mode

2012-05-29 Thread Alexander Graf
When running in thumb mode, Linux doesn't evaluate the immediate value of the svc instruction, but instead just always assumes the syscall number to be in r7. This fixes executing go_bootstrap while building go for me. Signed-off-by: Alexander Graf ag...@suse.de --- linux-user/main.c |3 +--

[Qemu-devel] arm exit code.

2012-05-29 Thread Davide Ferraretto
In arm user mode, where does qemu exit? Where is last qemu's instruction?

Re: [Qemu-devel] [PATCH 1/3 v9] add-cow file format

2012-05-29 Thread Stefan Hajnoczi
+    image_sectors = image_bs-total_sectors; Please use bdrv_getlength() instead of accessing total_sectors directly. +    image_drv = bdrv_find_format(raw); +    ret = bdrv_open(s-image_hd, image_filename, flags, image_drv); +    if (ret 0) { +        bdrv_delete(s-image_hd); +        

[Qemu-devel] [PATCH 1.1 v2] sheepdog: fix return value of do_load_save_vm_state

2012-05-29 Thread MORITA Kazutaka
bdrv_save_vmstate and bdrv_load_vmstate should return the vmstate size on success, and -errno on error. Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp --- Changes from v1 - return an error for short reads/writes - fix a coding style problem block/sheepdog.c | 10 +- 1

Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication]

2012-05-29 Thread Geert Jansen
Hi, On 05/24/2012 04:19 PM, Paolo Bonzini wrote: Here is how the bitmaps are handled when doing I/O on the source: - after writing to the source: - clear bit in the volatile in-flight bitmap - set bit in the persistent dirty bitmap - after flushing the source: - msync the persistent

[Qemu-devel] [PATCH 1.1] sheepdog: add coroutine_fn markers to coroutine functions

2012-05-29 Thread MORITA Kazutaka
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp --- block/sheepdog.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index f46ca8f..046f52a 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -522,8 +522,8 @@

Re: [Qemu-devel] [PATCH 1.1] sheepdog: add coroutine_fn markers to coroutine functions

2012-05-29 Thread Andreas Färber
Am 29.05.2012 18:22, schrieb MORITA Kazutaka: Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp Patch is tab-damaged. Andreas --- block/sheepdog.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index

[Qemu-devel] [Bug 998435] Re: qemu-kvm-spice doesn't support spice/qxl installs

2012-05-29 Thread lequeux1
Confirmed for winXP guest: qemu-kvm-spice doesn't support spice/qxl (bugs: 100%CPU, vdservice doesnt start, no guest screen at boot) Boris's recipe works ( http://bderzhavets.wordpress.com/2012/05/22/set- up-qemu-kvm-1-0noroms-as-spice-enabled-qemu-server/) NB: used guest winXP drivers from

Re: [Qemu-devel] [PATCH v2] hmp/qxl: info spice: add qxl info

2012-05-29 Thread Luiz Capitulino
On Tue, 29 May 2012 17:51:50 +0300 Alon Levy al...@redhat.com wrote: On Tue, May 29, 2012 at 10:38:20AM -0300, Luiz Capitulino wrote: On Tue, 29 May 2012 09:25:40 +0200 Gerd Hoffmann kra...@redhat.com wrote: Hi, How would that work? I have QXLInfo that only makes sense when

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Stefan Weil
Am 29.05.2012 15:35, schrieb Stefano Stabellini: qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls qemu_next_alarm_deadline, it always rearms the timer even if the next deadline is INT64_MAX. This patch

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Stefano Stabellini
On Tue, 29 May 2012, Stefan Weil wrote: Am 29.05.2012 15:35, schrieb Stefano Stabellini: qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls qemu_next_alarm_deadline, it always rearms the timer even if

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Stefan Weil
Am 29.05.2012 19:23, schrieb Stefano Stabellini: On Tue, 29 May 2012, Stefan Weil wrote: Am 29.05.2012 15:35, schrieb Stefano Stabellini: qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Stefano Stabellini
On Tue, 29 May 2012, Stefan Weil wrote: Yes, we could set the upper limit to LONG_MAX seconds for some timers, but I did not want to have a dependency of the upper limit on sizeof(long). The function win32_rearm_timer only allows 4294967 seconds. Is there any reason why we should allow timers

Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server?

2012-05-29 Thread Erik Rull
Hi Fabian, Fabian Holler wrote: Hello Erik, I just want to route all keypresses to the guest without interfering with the native QEMU key layout. Is that possible? Yes, if you start kvm without the -k option and use a linux VNC client that supports RFB extended key events (eg gtk-vnc,

Re: [Qemu-devel] Block job commands in QEMU 1.2 [v2, including support for replication]

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 13:57, Geert Jansen ha scritto: I assume the target can be any QEmu block driver including e.g. NBD? A networked block driver would be required for a continuous replication solution. Yes. Does the drive-mirror coroutine send the writes to the target in the same order as they

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Paolo Bonzini
Il 29/05/2012 19:09, Stefan Weil ha scritto: Am 29.05.2012 15:35, schrieb Stefano Stabellini: qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls qemu_next_alarm_deadline, it always rearms the timer even if

[Qemu-devel] [PATCH qom-next v3 0/12] target-i386: re-factor CPU creation/initialization to QOM

2012-05-29 Thread Igor Mammedov
Moving code related to CPU creation and initialization internal parts from board level into apic and cpu objects will allow X86CPU to better model QOM object life-cycle. It will allow to create X86CPU as any other object by creating it with object_new() then setting properties and then calling

[Qemu-devel] [PATCH qom-next 11/12] target-i386: initialize APIC at CPU level

2012-05-29 Thread Igor Mammedov
(L)APIC is a part of cpu [1] so move APIC initialization inside of x86_cpu object. Since cpu_model and override flags currently specify whether APIC should be created or not, APIC creation is moved into cpu_model property setter. And APIC initialization is moved into x86_cpu_apic_init() which is

[Qemu-devel] [PATCH qom-next 08/12] target-i386: introduce cpu-model property for x86_cpu

2012-05-29 Thread Igor Mammedov
it's probably intermidiate step till cpu modeled as sub-classes. After then we probably could drop it. However it still could be used for overiding default cpu subclasses definition, and probably renamed to something like 'features'. v2: - remove accidential tcg_* init code move Signed-off-by:

[Qemu-devel] [PATCH qom-next 04/12] target-i386: move tcg initialization into x86_cpu_initfn()

2012-05-29 Thread Igor Mammedov
In order to make cpu object not depended on external ad-hoc initialization routines, move tcg initialization from cpu_x86_init inside cpu object x86_cpu_initfn(). Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-i386/cpu.c| 10 ++ target-i386/cpu.h|2 ++

Re: [Qemu-devel] OpenBIOS for v1.1.0

2012-05-29 Thread Peter Maydell
On 29 May 2012 16:02, Andreas Färber afaer...@suse.de wrote: commit 7d21dcc84b8c07918124a9c0708694d2fb013f65 updated the binaries to r1056 but did not update the submodule, so the tarballs are shipping old sources. ...I wonder if it would be possible to write a git commit hook that spotted

Re: [Qemu-devel] Android Goldfish on QEMU

2012-05-29 Thread Peter Maydell
On 28 May 2012 13:28, Stefan Hajnoczi stefa...@gmail.com wrote: Is goldfish still a relevant Android dev platform?  In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? I would suggest not, unless we're going to

[Qemu-devel] [PATCH qom-next 09/12] target-i386: make cpu a child of /machine right after it's created

2012-05-29 Thread Igor Mammedov
Make cpu child of /machine before any properties are set. It is reqired before apic creation is moved to cpu_model property setter because setting link to cpu in apic requires cpu to have canonical path. Signed-off-by: Igor Mammedov imamm...@redhat.com --- hw/pc.c | 11 ---

[Qemu-devel] [PATCH qom-next 01/12] store prev_debug_excp_handler globaly and not per target

2012-05-29 Thread Igor Mammedov
current callers all do the same thing, storing in prev_debug_excp_handler previous handler and then calling it in breakpoint_handler. Move prev_debug_excp_handler from local scope to global and make cpu_set_debug_excp_handler() always to store previous handler. Signed-off-by: Igor Mammedov

[Qemu-devel] [PATCH qom-next 06/12] apic: Replace cpu_env pointer by X86CPU link

2012-05-29 Thread Igor Mammedov
From: Andreas Färber afaer...@suse.de Needed for converting cpu_is_bsp(). Signed-off-by: Andreas Färber afaer...@suse.de Cc: Paolo Bonzini pbonz...@redhat.com --- hw/apic.c | 34 +++--- hw/apic_common.c | 14 +++--- hw/apic_internal.h |2 +-

[Qemu-devel] [PATCH qom-next 02/12] target-xtensa: use global prev_debug_excp_handler instead of local one

2012-05-29 Thread Igor Mammedov
Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-xtensa/helper.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c index 5e7e72e..e2ab83c 100644 --- a/target-xtensa/helper.c +++ b/target-xtensa/helper.c @@ -54,8

[Qemu-devel] [PATCH qom-next 07/12] target-i386: move cpu halted decision into x86_cpu_reset

2012-05-29 Thread Igor Mammedov
From: Igor Mammedov niall...@gmail.com MP initialization protocol differs between cpu families, and for P6 and onward models it is up to CPU to decide if it will be BSP using this protocol, so try to model this. However there is no point in implementing MP initialization protocol in qemu. Thus

[Qemu-devel] [PATCH qom-next 05/12] pc: Add CPU as /machine/cpu[n]

2012-05-29 Thread Igor Mammedov
From: Andreas Färber afaer...@suse.de Using the cpu_index, give the X86CPU a canonical path. This must be done before initializing the APIC. Signed-off-by: Igor Mammedov niall...@gmail.com Signed-off-by: Andreas Färber afaer...@suse.de --- hw/pc.c | 12 1 files changed, 12

[Qemu-devel] [PATCH qom-next 10/12] pc: Enable MSI support at APIC level

2012-05-29 Thread Igor Mammedov
From: Jan Kiszka jan.kis...@siemens.com Push msi_supported enabling to the APIC implementations where we can encapsulate the decision more cleanly, hiding the details from the generic code. Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Signed-off-by: Jan Kiszka

[Qemu-devel] [PATCH qom-next 12/12] target-i386: move reset callback to cpu.c and call cpu_reset() in x86_cpu_realize()

2012-05-29 Thread Igor Mammedov
Moving reset callback into cpu object from board level and resetting cpu at the end of x86_cpu_realize() will allow properly create cpu object during run-time (hotplug). When reset over QOM hierarchy is implemented, reset callback should be removed. Additionally, there is only call to

[Qemu-devel] [PATCH qom-next v3 0/12] target-i386: re-factor CPU creation/initialization to QOM

2012-05-29 Thread Igor Mammedov
Moving code related to CPU creation and initialization internal parts from board level into apic and cpu objects will allow X86CPU to better model QOM object life-cycle. It will allow to create X86CPU as any other object by creating it with object_new() then setting properties and then calling

[Qemu-devel] [PATCH qom-next 03/12] target-i386: use global prev_debug_excp_handler instead of local one

2012-05-29 Thread Igor Mammedov
Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-i386/helper.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 2cc8097..da6f850 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -941,8 +941,6

[Qemu-devel] [Bug 688052] Re: usb does not work 0.13.0

2012-05-29 Thread Jan Matejka
the correct syntax is -usb -device usb-host,vendorid=x,productid=y -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/688052 Title: usb does not work 0.13.0 Status in QEMU: New Bug description:

[Qemu-devel] [Bug 688052] Re: usb does not work 0.13.0

2012-05-29 Thread Jan Matejka
at leats on my app-emulation/qemu-kvm-1.0-r2 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/688052 Title: usb does not work 0.13.0 Status in QEMU: New Bug description: Hi all, I'm using both,

Re: [Qemu-devel] [PATCH 1.1] sheepdog: add coroutine_fn markers to coroutine functions

2012-05-29 Thread MORITA Kazutaka
At Tue, 29 May 2012 18:30:17 +0200, Andreas Färber wrote: Am 29.05.2012 18:22, schrieb MORITA Kazutaka: Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp Patch is tab-damaged. Oops, I'll send a new version. Thanks, Kazutaka Andreas --- block/sheepdog.c |9

[Qemu-devel] [PATCH 1.1 v2] sheepdog: add coroutine_fn markers to coroutine functions

2012-05-29 Thread MORITA Kazutaka
Signed-off-by: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp --- Changes from v1: - use spaces for indentation block/sheepdog.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index f46ca8f..8877f45 100644 ---

Re: [Qemu-devel] [PATCH v2 01/17] Openrisc: add target stubs

2012-05-29 Thread Jia Liu
Hi Andreas, On Sun, May 27, 2012 at 8:44 PM, Andreas Färber afaer...@suse.de wrote: Am 27.05.2012 07:32, schrieb Jia Liu: add openrisc target stubs. Signed-off-by: Jia Liu pro...@gmail.com Minor nitpick: I'd recommend to stick to the typographic conventions outlined here:

[Qemu-devel] ARM: Virtual / Physical address translation

2012-05-29 Thread Ira Ray Jenkins
I am working on a qemu modification that would output memory traces in a format acceptable to Dinero IV. I've seen some previous proto-type work done on this with mips and x86, but I am specifically interested in arm. Currently, I am able to dump the virtual address of all ld/st instructions. I

Re: [Qemu-devel] [PATCH, repost 2] qemu-keymaps: Finnish keyboard mapping broken

2012-05-29 Thread Anthony Liguori
On 05/09/2012 03:31 PM, Michael Tokarev wrote: As mentioned in http://bugs.debian.org/660154 , finnish keyboard mapping is kind of broken. Fix it as Timo Sirainen suggests in #660154. Signed-off-By: Michael Tokarevm...@tls.msk.ru index 2a4e0f0..4be7586 100644 Please post patches with

Re: [Qemu-devel] ARM: Virtual / Physical address translation

2012-05-29 Thread Peter Maydell
On 30 May 2012 02:00, Ira Ray Jenkins irarayjenk...@gmail.com wrote: What I would like is to be able to get the physical addresses of both data and instructions. Can anyone help me work through how to get the properly translated physical addresses given the virtual address? See the function

Re: [Qemu-devel] [PULL 1.1] Cocoa patch queue for v1.1 2012-05-29

2012-05-29 Thread Anthony Liguori
On 05/29/2012 04:59 AM, Andreas Färber wrote: Hello Anthony, Please pull the Cocoa queue into qemu.git master: Pulled. Thanks. Regards, Anthony Liguori One general build fix for Darwin/ppc, one behavioral fix for make check with Cocoa. The following changes since commit

Re: [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD

2012-05-29 Thread Anthony Liguori
On 05/29/2012 10:30 AM, Michael Roth wrote: On Thu, May 24, 2012 at 01:52:39PM -0500, Michael Roth wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit (2012-05-24 19:35:27 +0400) are available in the git repository at:

Re: [Qemu-devel] [PULL 1.1 0/2] SCSI patches for 1.1.0-rc3

2012-05-29 Thread Anthony Liguori
On 05/22/2012 07:25 AM, Paolo Bonzini wrote: The following changes since commit 76ee152a86d5f2533443ce4d2be6fe253cfb3c45: Update version to 1.1.0-rc2 (2012-05-14 17:56:50 -0500) Pulled. Thanks. Regards, Anthony Liguori are available in the git repository at:

  1   2   >