[Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields

2011-08-14 Thread Jan Kiszka
The following changes since commit 3b6ffe50300f13240e1b46420ad05da1116df410: hw/scsi-bus.c: Fix use of uninitialised variable (2011-08-14 19:34:25 +) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Jan Kiszka (1): slirp: Fix bit field types in IP

Re: [Qemu-devel] VNC server running on `127.0.0.1:5900'

2011-08-14 Thread Nithish R
On Sat, Aug 13, 2011 at 11:13 PM, Mulyadi Santosa wrote: > On Sat, Aug 13, 2011 at 21:54, Nithish R wrote: > > Hi > > Thanx a lot... It worked... > > nice, btw, please reply to the list too, I don't want to take it as > private discussion > > > By the way do u know how the log file is genera

[Qemu-devel] [PATCH] monitor: Show combined protection bits in "info mem"

2011-08-14 Thread Austin Clements
Previously, "info mem" considered and displayed only the last-level protection bits for a memory range, which doesn't accurrately represent the protection of that range. Now it shows the combined protection. Signed-off-by: Austin Clements --- monitor.c | 10 +++--- 1 files changed, 7 inse

[Qemu-devel] [PATCH] monitor: Fix "info mem" to print the last memory range

2011-08-14 Thread Austin Clements
"info mem" groups its output into contiguous ranges with identical protection bits, but previously forgot to print the last range. Signed-off-by: Austin Clements --- monitor.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 6a4f8c2..f8ba0

[Qemu-devel] [PATCH] monitor: Prevent sign-extension of 32-bit addresses printed by info mem

2011-08-14 Thread Austin Clements
Previously, on 32-bit i386, info mem used signed 32-bit int's to store the page table indexes. As a result, address calculation was done in 32 bits and then incorrectly sign-extended to 64 bits, yielding output like ef00-ef031000 00031000 ur- ef7bc000-e

Re: [Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion

2011-08-14 Thread Avi Kivity
On 08/11/2011 04:07 PM, Richard Henderson wrote: The last patch set converted the serial i/o path; this patch set converts the serial mmio path. Intermediate patches increase the use of get_system_memory(), and later patches reduce those uses again. In all but one case in the end we use the add

[Qemu-devel] buildbot failure in qemu on default_openbsd_current

2011-08-14 Thread qemu
The Buildbot has detected a new failure on builder default_openbsd_current while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/builds/0 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: brad_openbsd_c

[Qemu-devel] [Bug 826363] Re: qemu-img convert does not work with vdi files

2011-08-14 Thread Steve Si
** Description changed: qemu-img.exe convert -O raw myfile.vdi zz.raw reports 'error while writing' both in 0.15.0 and Beta rc2 - v0.11.1 works file on same file. myfile.vdi is 3.9GB made by VirtualBox. + v0.11.1 works fine on same file. myfile.vdi is 3.9GB made by VirtualBox. -- You rec

[Qemu-devel] [PATCH] scsi: do not overwrite memory on REQUEST SENSE commands with a large buffer

2011-08-14 Thread Paolo Bonzini
Other scsi_target_reqops commands were careful about not using r->cmd.xfer directly, and instead always cap it to a fixed length. This was not done for REQUEST SENSE, and this patch fixes it. Reported-by: Blue Swirl Signed-off-by: Paolo Bonzini --- The way you called REQUEST SENSE from

Re: [Qemu-devel] [PATCH V7 13/13] Add a TPM backend null driver implementation

2011-08-14 Thread Stefan Berger
On 08/12/2011 10:55 AM, Andreas Niederl wrote: Hi, the null driver backend generates a warning for me on gcc-4.4.5: cc1: warnings being treated as errors /home/aniederl/work/actvsm/qemu/hw/tpm_null.c: In function ‘tpm_null_main_loop’: /home/aniederl/work/actvsm/qemu/hw/tpm_null.c:107: error: ‘in

Re: [Qemu-devel] [PATCH V7 12/13] Support for taking measurements when kernel etc. are passed to Qemu

2011-08-14 Thread Stefan Berger
On 08/12/2011 11:12 AM, Andreas Niederl wrote: Hi, the SHA1_HashBuf function you are using originates from a non-public internal API which gets packaged on Fedora but is not available at least on Debian (Squeeze) and Gentoo. Well, it's not a private API but it's part of freebl and packaged in FC

Re: [Qemu-devel] [PATCH] hw/scsi-bus.c: Fix use of uninitialised variable

2011-08-14 Thread Blue Swirl
Thanks, applied. On Fri, Aug 12, 2011 at 4:49 PM, Peter Maydell wrote: > Don't use req before it has been initialised in scsi_req_new(). > This fixes a compile failure due to gcc complaining about this. > > Signed-off-by: Peter Maydell > --- >  hw/scsi-bus.c |    2 +- >  1 files changed, 1 inser

Re: [Qemu-devel] [RFC] Planning for 1.0 (and freezing the master branch)

2011-08-14 Thread Blue Swirl
On Sun, Aug 14, 2011 at 1:46 PM, Anthony Liguori wrote: > On 08/12/2011 03:46 PM, Blue Swirl wrote: >> >> On Thu, Aug 11, 2011 at 9:54 PM, Gerd Hoffmann  wrote: >>> >>>  Hi, >>> > In general the idea is OK. Especially soft freeze could solve problems > like those qemu-ga inclusion had. >>>

Re: [Qemu-devel] [PATCH v2 0/8]: Introduce the RunState type

2011-08-14 Thread Anthony Liguori
On 08/10/2011 03:33 PM, Luiz Capitulino wrote: It replaces the VMSTOP macros and allows us to drop some global variables. Additionally, the problem with issuing 'cont' when the VM is in bad state is addressed and we make the current state available in QMP and HMP. changelog - v2 o Ren

Re: [Qemu-devel] [PATCH 17/24] arm11mpcore: use sysbus_init_mmio_cb2

2011-08-14 Thread Avi Kivity
On 08/12/2011 06:23 AM, Peter Maydell wrote: >static int realview_mpcore_init(SysBusDevice *dev) >{ > mpcore_rirq_state *s = FROM_SYSBUS(mpcore_rirq_state, dev); > @@ -79,7 +84,7 @@ static int realview_mpcore_init(SysBusDevice *dev) > } > } > qdev_init_gpio_in

Re: [Qemu-devel] [PATCH 7/8] QMP: query-status: Introduce 'status' key

2011-08-14 Thread Anthony Liguori
On 08/10/2011 03:33 PM, Luiz Capitulino wrote: This new key reports the current VM status to clients. Please, check the documentation being added in this commit for more details. Signed-off-by: Luiz Capitulino --- monitor.c |3 +-- qmp-commands.hx | 21 - syse

Re: [Qemu-devel] [PATCH 5/8] Drop the vm_running global variable

2011-08-14 Thread Anthony Liguori
On 08/10/2011 03:33 PM, Luiz Capitulino wrote: Use vm_is_running() instead, which is introduced by this commit and is part of the RunState API. Signed-off-by: Luiz Capitulino --- cpus.c|9 - gdbstub.c |4 ++-- hw/etraxfs_dma.c |2 +- hw/kvmclock.c

Re: [Qemu-devel] [PATCH 4/8] Drop the incoming_expected global variable

2011-08-14 Thread Anthony Liguori
On 08/10/2011 03:33 PM, Luiz Capitulino wrote: Test against RSTATE_IN_MIGRATE instead. Please, note that the RSTATE_IN_MIGRATE state is only set when all the initial VM setup is done, while 'incoming_expected' was set right in the beginning when parsing command-line options. Shouldn't be a probl

Re: [Qemu-devel] [PATCH v1.1 18/24] versatile_pci: convert to memory API

2011-08-14 Thread Avi Kivity
On 08/11/2011 02:53 PM, Peter Maydell wrote: On 11 August 2011 17:29, Avi Kivity wrote: > -static uint32_t pci_vpb_config_readl (void *opaque, target_phys_addr_t addr) > +static uint64_t pci_vpb_config_read(void *opaque, target_phys_addr_t addr, > +unsigned

Re: [Qemu-devel] [PATCH] hw/scsi-bus.c: Fix use of uninitialised variable

2011-08-14 Thread Paolo Bonzini
On 08/12/2011 06:49 PM, Peter Maydell wrote: Don't use req before it has been initialised in scsi_req_new(). This fixes a compile failure due to gcc complaining about this. Signed-off-by: Peter Maydell --- hw/scsi-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

Re: [Qemu-devel] [PATCH] hw/scsi-bus.c: Fix use of uninitialised variable

2011-08-14 Thread Paolo Bonzini
On 08/13/2011 07:29 PM, Blue Swirl wrote: On Fri, Aug 12, 2011 at 7:22 PM, Blue Swirl wrote: On Fri, Aug 12, 2011 at 4:49 PM, Peter Maydell wrote: Don't use req before it has been initialised in scsi_req_new(). This fixes a compile failure due to gcc complaining about this. It fixes a crash

[Qemu-devel] [Bug 826363] [NEW] qemu-img convert does not work with vdi files

2011-08-14 Thread Steve Si
Public bug reported: qemu-img.exe convert -O raw myfile.vdi zz.raw reports 'error while writing' both in 0.15.0 and Beta rc2 v0.11.1 works file on same file. myfile.vdi is 3.9GB made by VirtualBox. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notif

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Anthony Liguori
On 08/14/2011 10:43 AM, Alexander Graf wrote: Am 14.08.2011 um 06:29 schrieb Anthony Liguori: On 08/13/2011 10:05 PM, Avi Kivity wrote: On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool readable; @@ -125,6 +125

Re: [Qemu-devel] [RFC] Planning for 1.0 (and freezing the master branch)

2011-08-14 Thread Anthony Liguori
On 08/12/2011 03:46 PM, Blue Swirl wrote: On Thu, Aug 11, 2011 at 9:54 PM, Gerd Hoffmann wrote: Hi, In general the idea is OK. Especially soft freeze could solve problems like those qemu-ga inclusion had. Two weeks for soft freeze would be close to OK but I think a month of hard freeze is

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Alexander Graf
Am 14.08.2011 um 06:29 schrieb Anthony Liguori : > On 08/13/2011 10:05 PM, Avi Kivity wrote: >> On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool readable; >>> @@ -125,6 +125,7 @@ struct FlatRange

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-14 Thread Anthony Liguori
On 08/13/2011 10:05 PM, Avi Kivity wrote: On 08/12/2011 06:48 AM, Anthony Liguori wrote: target_phys_addr_t offset_in_region; AddrRange addr; uint8_t dirty_log_mask; + bool readable; @@ -125,6 +125,7 @@ struct FlatRange { In a follow up, it might be good to add a comment explaining that this w

Re: [Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2011-08-14 Thread Stefan Hajnoczi
On Sun, Aug 14, 2011 at 7:11 AM, Rick Vernam <818...@bugs.launchpad.net> wrote: > So that would point to virtio.  This appears to be the place for virtio bugs, > correct? > Should I be doing anything to help usher this along? Either we need to help Vadim reproduce this so he can take a look. Vadi

Re: [Qemu-devel] [PATCH] build: list libraries after objects, for proper linkage

2011-08-14 Thread Alon Levy
On Sun, Aug 14, 2011 at 03:31:24PM +0200, Diego Elio Pettenò wrote: > Without this change, when using -Wl,--as-needed with GNU linker, the > libraries would be discarded. > Thanks, my bad, didn't know about this switch, makes perfect sense, will add to the pull request (I should send one by the e

[Qemu-devel] [PATCH] build: list libraries after objects, for proper linkage

2011-08-14 Thread Diego Elio Pettenò
Without this change, when using -Wl,--as-needed with GNU linker, the libraries would be discarded. Signed-off-by: Diego Elio Pettenò --- libcacard/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 5cd7594..3ea845f 1