[Qemu-devel] [PATCH v2 01/15] Add dependency of JSON unit tests on config-host.h

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Signed-off-by: Jan Kiszka --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 110698e..aa81d9b 100644 --- a/Makefile +++ b/Makefile @@ -144,6 +144,8 @@ qemu-io$(EXESUF): qemu-io.o cmd.o qemu-tool.o qemu-error.o $(blo

[Qemu-devel] [PATCH v2 02/15] qdev: Fix scanning across single-bus devices

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka As long as we allow /dev.1 as shortcut for /dev1/bus1, we also have to make sure that /dev1/dev2 works for /dev1/bus1/dev2/bus2 - as long as there is only one child bus per device. Signed-off-by: Jan Kiszka --- docs/qdev-device-use.txt |4 hw/qdev.c|

[Qemu-devel] [PATCH v2 04/15] qdev: Convert device and bus lists to QTAILQ

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Cosmetic change to align the instance number assignment with bus ordering. The current ordering due to QLIST_INSERT_HEAD is a bit annoying when you dump the qtree or address devices via 'driver.instance'. Signed-off-by: Jan Kiszka --- hw/acpi_piix4.c |2 +- hw/i2c.c

[Qemu-devel] [PATCH v2 10/15] Add QBuffer

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka This introduces a buffer object for use with QMP. As a buffer is not natively encodable in JSON, we encode it as a base64 string and encapsulate the result in the new QMP object class "buffer". The first use case for this is pushing the content of buffers that are part of a devi

[Qemu-devel] [PATCH v2 08/15] Add base64 encoder/decoder

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Will be used by QBuffer. Signed-off-by: Jan Kiszka --- Makefile.objs |2 +- base64.c | 202 + base64.h | 18 + 3 files changed, 221 insertions(+), 1 deletions(-) create mode 100644 base64.c create m

[Qemu-devel] [PATCH v2 05/15] qdev: Allow device specification by qtree path for device_del

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Allow to specify the device to be removed via device_del not only by ID but also by its full or abbreviated qtree path. For this purpose, qdev_find is introduced which combines searching for device IDs with walking the qtree when required. Signed-off-by: Jan Kiszka --- hw/qdev

[Qemu-devel] [PATCH v2 06/15] qdev: Push QMP mode checks into qbus_list_bus/dev

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Simplifies the usage. Signed-off-by: Jan Kiszka --- hw/qdev.c | 22 ++ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index fa611a1..db005ce 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -492,6 +492,9 @@ static void qbu

[Qemu-devel] [PATCH v2 03/15] qdev: Allow device addressing via 'driver.instance'

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Extend qbus_find_dev to allow addressing of devices without an unique id via an optional per-bus instance number. The new formats are 'driver.instance' and 'alias.instance'. Signed-off-by: Jan Kiszka --- docs/qdev-device-use.txt | 12 +++- hw/qdev.c|

[Qemu-devel] [PATCH v2 00/15] Basic device state visualization

2010-05-22 Thread Jan Kiszka
Here is version 2 of the device_show patch series. It currently has some dependencies on recently posted doc changes / enhancements, namely: - http://thread.gmane.org/gmane.comp.emulators.qemu/70673 ([PATCH v3 0/3]: QMP: Commands doc) - http://thread.gmane.org/gmane.comp.emulators.qemu/70756

[Qemu-devel] [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka This introduces device_show, a monitor command that saves the vmstate of a qdev device and visualizes it. QMP is also supported. Buffers are cut after 16 byte by default, but the full content can be requested via '-f'. To pretty-print sub-arrays, vmstate is extended to store the

[Qemu-devel] [PATCH v2 09/15] QMP: Reserve namespace for complex object classes

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka This reserves JSON objects that contain the key '__class__' for QMP-specific complex objects. First user will be the buffer class. Signed-off-by: Jan Kiszka --- QMP/qmp-spec.txt | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/QMP/qmp-sp

[Qemu-devel] [PATCH v2 07/15] monitor: Add completion for qdev paths

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Implement monitor command line completion for device tree paths. The first user is device_del. Signed-off-by: Jan Kiszka --- hw/qdev.c | 50 ++-- hw/qdev.h |2 + monitor.c | 85 ++

[Qemu-devel] [PATCH v2 14/15] QMP: Fix python helper /wrt long return strings

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka Remove the arbitrary limitation of 1024 characters per return string and read complete lines instead. Required for device_show. Signed-off-by: Jan Kiszka --- QMP/qmp.py |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/QMP/qmp.py b/QMP/qmp.py index

[Qemu-devel] [PATCH v2 15/15] QMP: Add support for buffer class to qmp python helper

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka This demonstrates the conversion of QMP buffer objects and does some minimalistic pretty-printing. Signed-off-by: Jan Kiszka --- QMP/qmp.py | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/QMP/qmp.py b/QMP/qmp.py index 4062f84..

[Qemu-devel] [PATCH v2 11/15] monitor: return length of printed string via monitor_[v]printf

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka This simply forwards the result of the internal vsnprintf to the callers of monitor_printf and monitor_vprintf. When invoked over a QMP session or in absence of an active monitor, -1 is returned. Signed-off-by: Jan Kiszka --- monitor.c | 23 +++ monitor

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Artyom Tarasenko
2010/5/22 Blue Swirl : > On Fri, May 21, 2010 at 9:53 PM, Artyom Tarasenko > wrote: >> On a real hardware changing read-only bits has no effect >> Use a mask common for SCSI and Ethernet registers. The crucial >> bit is DMA_INTR, because setting or clearing it may produce >> spurious interrupts. >

[Qemu-devel] [PATCH v2 13/15] QMP: Teach basic capability negotiation to python example

2010-05-22 Thread Jan Kiszka
From: Jan Kiszka As sending "qmp_capabilities" on session start became mandatory, both python examples were broken. Signed-off-by: Jan Kiszka --- QMP/qmp-shell |1 + QMP/vm-info |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/QMP/qmp-shell b/QMP/qmp-shell index f

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Blue Swirl
On Fri, May 21, 2010 at 9:53 PM, Artyom Tarasenko wrote: > On a real hardware changing read-only bits has no effect > Use a mask common for SCSI and Ethernet registers. The crucial > bit is DMA_INTR, because setting or clearing it may produce > spurious interrupts. > > This patch allows booting So

[Qemu-devel] [Bug 584121] [NEW] migration always fails on 32bit qemu-kvm-0.12+ (sigsegv)

2010-05-22 Thread Michael Tokarev
Public bug reported: On a 32bit host (or when running 32bit userspace on 64bit host), migration always fails with a crash of qemu-kvm process. See http://marc.info/?l=kvm&m=127351472231666 for more information. ** Affects: qemu Importance: Undecided Status: New -- migration alway

[Qemu-devel] [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Artyom Tarasenko
On a real hardware changing read-only bits has no effect Use a mask common for SCSI and Ethernet registers. The crucial bit is DMA_INTR, because setting or clearing it may produce spurious interrupts. This patch allows booting Solaris 2.3 --- hw/sparc32_dma.c | 12 1 files changed,

[Qemu-devel] [Bug 584131] [NEW] some guests hangs after migration (qemu-kvm-0.12)

2010-05-22 Thread Michael Tokarev
Public bug reported: There's a quite good bugreport in Debian BTS about this, #580649: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649 This is not the same as lp#341682, since it's now 0.12. Full initial message from #580649: From: Apollon Oikonomopoulos To: Debian Bug Tracking Sy

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Blue Swirl
Thanks, applied. You forgot SoB-line, I copied it from the previous version. On Sat, May 22, 2010 at 8:38 AM, Artyom Tarasenko wrote: > On a real hardware changing read-only bits has no effect > Use a mask common for SCSI and Ethernet registers. The crucial > bit is DMA_INTR, because setting or c

[Qemu-devel] [Bug 584139] [NEW] keymapping error for usb keyboard (windows/menu keys)

2010-05-22 Thread Michael Tokarev
Public bug reported: The windows and menu keys for usb keyboard in qemu are wrong. They're correct for "ps/2" keyboard emulation however. See Debian bug#578846: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846. Here's the proposed fix: --- a/hw/usb-hid.c +++ b/hw/usb-hid.c @@ -399,3 +39

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Blue Swirl
On Sat, May 22, 2010 at 8:32 AM, Artyom Tarasenko wrote: > 2010/5/22 Blue Swirl : >> On Fri, May 21, 2010 at 9:53 PM, Artyom Tarasenko >> wrote: >>> On a real hardware changing read-only bits has no effect >>> Use a mask common for SCSI and Ethernet registers. The crucial >>> bit is DMA_INTR, bec

Re: [Qemu-devel] [PATCH 2/2] hxtool: Add syntax error detection

2010-05-22 Thread Blue Swirl
Thanks, applied. On Thu, May 20, 2010 at 7:16 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Add basic imbalance detection for STEXT/ETEXI. > > Signed-off-by: Jan Kiszka > --- >  hxtool |   16 +++- >  1 files changed, 15 insertions(+), 1 deletions(-) > > diff --git a/hxtool b/hxtool >

Re: [Qemu-devel] [PATCH] Clean libhw subdirs as well

2010-05-22 Thread Blue Swirl
Thanks, applied. On Sat, May 15, 2010 at 11:03 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka > --- >  Makefile.hw |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile.hw b/Makefile.hw > index be35359..b9181ab 100644 > --- a/Makefile.hw

Re: [Qemu-devel] [PATCH 1/2] Fix TEXI section mark imbalance in qemu-img-cmd.hx

2010-05-22 Thread Blue Swirl
Thanks, applied. On Thu, May 20, 2010 at 7:16 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka > --- >  qemu-img-cmds.hx |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx > index c079019..c4cf3e7 100644 > ---

Re: [Qemu-devel] [PATCH] Put dependency files in proper subdir

2010-05-22 Thread Blue Swirl
Thanks, applied. On Sat, May 15, 2010 at 11:03 AM, Jan Kiszka wrote: > From: Jan Kiszka > > This seems to resolve subtle breakages of our build system: > > Dependency files generated for targets like 'dir/foo.o' were saved as > 'foo.d'. Now, if there was also a target 'foo.o', one of the depende

Re: [Qemu-devel] [PATCH v2] Fix -device help and documentation

2010-05-22 Thread Blue Swirl
Thanks, applied. On Tue, May 11, 2010 at 12:02 PM, Markus Armbruster wrote: > Commit 6616b2ad reverted commit 40ea285c.  Looks like a mismerge to > me. > > Signed-off-by: Markus Armbruster > --- > v2: rebased (v1 fell through the cracks apparently) > >  qemu-options.hx |   15 ++- >  

Re: [Qemu-devel] [PATCH] Fix tarbin Makefile rule

2010-05-22 Thread Blue Swirl
Thanks, applied. On Wed, May 12, 2010 at 7:42 PM, Stuart Brady wrote: > 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 pass

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Artyom Tarasenko
2010/5/22 Blue Swirl : > Thanks, applied. You forgot SoB-line, I copied it from the previous version. Sorry. Btw, is there a way to tell 'format-patch' to always include it? Can't find it in the git docs. Otherwise I'll define an alias so I won't need to remember about the '-s' switch. > On Sat,

[Qemu-devel] [Bug 584143] [NEW] qemu fails to set hdd serial number

2010-05-22 Thread Michael Tokarev
Public bug reported: The -drive ...,serial=xyz option is broken, at least in 0.12. See Debian bug#573439, http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=573439 for details. The proposed fix from the original reporter: --- qemu-kvm-0.12.3+dfsg/vl.c 2010-02-26 11:34:00.0 +0900 +++ qe

[Qemu-devel] Re: [PATCH] sparc32 protect read-only bits in DMA CSR registers

2010-05-22 Thread Blue Swirl
On Sat, May 22, 2010 at 9:29 AM, Artyom Tarasenko wrote: > 2010/5/22 Blue Swirl : >> Thanks, applied. You forgot SoB-line, I copied it from the previous version. > > Sorry. Btw, is there a way to tell 'format-patch' to always include it? > Can't find it in the git docs. Otherwise I'll define an al

Re: [Qemu-devel] [PATCH][RESEND] vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc

2010-05-22 Thread Blue Swirl
Thanks, applied. On Wed, May 12, 2010 at 2:28 AM, 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 > --- >  hw/cirrus_vga.c |    1 - >  1 files

[Qemu-devel] [Bug 584146] [NEW] Virtual fat breaks with -snapshot

2010-05-22 Thread Michael Tokarev
Public bug reported: When using fat emulation together with snapshot, qemu fails to find the directory for the fat "filesystem". See Debian bug#504049, http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=504049 and discussion on qemu-devel with Kevin Wolf, http://marc.info/?t=12685080281 for de

[Qemu-devel] [Bug 584153] [NEW] no useful error message when tap device open fails

2010-05-22 Thread Michael Tokarev
Public bug reported: When using tap network devices and it fails, qemu gives no information about what the problem is (permission denied, device busy or other), making debugging of such situations, especially for newbies, very difficult. The proposed patch just adds strerror() around the place, m

[Qemu-devel] [Bug 584153] Re: no useful error message when tap device open fails

2010-05-22 Thread Michael Tokarev
** Attachment added: "tap-open-give-useful-error-messages.diff" http://launchpadlibrarian.net/48914447/tap-open-give-useful-error-messages.diff -- no useful error message when tap device open fails https://bugs.launchpad.net/bugs/584153 You received this bug notification because you are a me

[Qemu-devel] [Bug 584155] [NEW] support horisontal mouse wheel

2010-05-22 Thread Michael Tokarev
Public bug reported: Brad Jorsch provided a series of patches to support horisontal mouse scrolling in qemu-emulated mouse. See Debian bug#579968 -- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579968 and submission to qemu-devel list at http://www.mail-archive.com/qemu-devel@nongnu.org/ms

[Qemu-devel] [PATCH 0/5] allow HelenOS to start userspace tasks under qemu-system-sparc64

2010-05-22 Thread Igor V. Kovalenko
The following series addresses a few issues found in current sparc64 mmu implementation. With these changes HelenOS-0.4.2-sparc64-us2.iso can progress to executing userspace tasks (verified by looking for 40b0 addresses in in_asm debug trace) --- Igor V. Kovalenko (5): sparc64: generate da

[Qemu-devel] [PATCH 1/5] sparc64: generate data access exception on RW violation

2010-05-22 Thread Igor V. Kovalenko
From: Igor V. Kovalenko - separate PRIV and PROT handling - DPRINTF_MMU macro to clean up debug code - dump mmu_idx, trap level and mmu context registers along with address translation values Signed-off-by: Igor V. Kovalenko --- target-sparc/helper.c | 99 +++---

[Qemu-devel] [PATCH 4/5] sparc64: fix mmu context at trap levels above zero

2010-05-22 Thread Igor V. Kovalenko
From: Igor V. Kovalenko - cpu_mmu_index return MMU_NUCLEUS_IDX if trap level is not zero - cpu_get_tb_cpu_state: store trap level and primary context in flags this allows to restart code translation when address translation is changed - stop translation block after writing to pstate and tl regi

[Qemu-devel] [PATCH 2/5] sparc64: fix pstate privilege bits

2010-05-22 Thread Igor V. Kovalenko
From: Igor V. Kovalenko - refactor code to handle hpstate only if available for current cpu - conditionally set hypervisor bit in hpstate register - reorder softmmu indices so user accessable ones go first, translation context macros supervisor() and hypervisor() adjusted as well - disable spar

[Qemu-devel] [PATCH 3/5] sparc64: fix dump_mmu to look for global bit in tte value instead of tag

2010-05-22 Thread Igor V. Kovalenko
From: Igor V. Kovalenko Signed-off-by: Igor V. Kovalenko --- target-sparc/helper.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 538795f..1045c31 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -

[Qemu-devel] [PATCH 5/5] sparc64: flush translations on mmu context change

2010-05-22 Thread Igor V. Kovalenko
From: Igor V. Kovalenko - two pairs of softmmu indexes bind softmmu tlb to cpu tlb in fault handlers using value of DMMU primary and secondary context registers, so we need to flush softmmu translations when context registers are changed Signed-off-by: Igor V. Kovalenko --- target-sparc/op

Re: [Qemu-devel] [PATCH 0/5] allow HelenOS to start userspace tasks under qemu-system-sparc64

2010-05-22 Thread Blue Swirl
Thanks, applied all. On Sat, May 22, 2010 at 10:52 AM, Igor V. Kovalenko wrote: > The following series addresses a few issues found in current sparc64 mmu > implementation. > > With these changes HelenOS-0.4.2-sparc64-us2.iso can progress to executing > userspace tasks (verified by looking for 40

Re: [Qemu-devel] [PATCH v2 08/15] Add base64 encoder/decoder

2010-05-22 Thread Blue Swirl
On Sat, May 22, 2010 at 8:18 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Will be used by QBuffer. > > Signed-off-by: Jan Kiszka > --- >  Makefile.objs |    2 +- >  base64.c      |  202 > + >  base64.h      |   18 + >  3 files changed,

Re: [Qemu-devel] [PATCH v2 00/15] Basic device state visualization

2010-05-22 Thread Blue Swirl
On Sat, May 22, 2010 at 8:17 AM, Jan Kiszka wrote: > Here is version 2 of the device_show patch series. It currently has some > dependencies on recently posted doc changes / enhancements, namely: >  - http://thread.gmane.org/gmane.comp.emulators.qemu/70673 >   ([PATCH v3 0/3]: QMP: Commands doc) >

Re: [Qemu-devel] [PATCH] lsi: Fix value overflow in request tag processing

2010-05-22 Thread Aurelien Jarno
On Fri, May 21, 2010 at 06:44:59PM +0200, Jan Kiszka wrote: > This fixes a mismerge of 64d564094cac5f72eeaeb950c442b773a00d3586 (wrong > patch version): We need to mask the tag value properly to obtain its > device ID. > > Signed-off-by: Jan Kiszka Thanks for the quick patch, I have applied it.

[Qemu-devel] [Bug 584121] Re: migration always fails on 32bit qemu-kvm-0.12+ (sigsegv)

2010-05-22 Thread Loïc Minier
Hi You're filing bugs against the QEMU project, which is used to track upstream issues (issues in the tarballs released by the QEMU project, or in their git tree). I think you intended to file these against the Ubuntu package of qemu, "qemu-kvm". AFAIK, QEMU doesn't have any upstream bug tracker

[Qemu-devel] [Bug 584143] Re: qemu fails to set hdd serial number

2010-05-22 Thread Loïc Minier
Patch still applies on top of qemu-kvm.git and qemu.git ** Bug watch added: Debian Bug tracker #573439 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573439 Importance: Unknown Status:

[Qemu-devel] [Bug 584153] Re: no useful error message when tap device open fails

2010-05-22 Thread Loïc Minier
** Bug watch added: Debian Bug tracker #578154 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578154 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578154 Importance: Unknown Status: Unknown -- no useful error message when tap device ope

[Qemu-devel] [Bug 584139] Re: keymapping error for usb keyboard (windows/menu keys)

2010-05-22 Thread Loïc Minier
** Bug watch added: Debian Bug tracker #578846 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846 Importance: Unknown Status: Unknown -- keymapping error for usb keyboard (windows/

[Qemu-devel] [Bug 584146] Re: Virtual fat breaks with -snapshot

2010-05-22 Thread Loïc Minier
** Bug watch added: Debian Bug tracker #504049 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504049 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504049 Importance: Unknown Status: Unknown -- Virtual fat breaks with -snapshot https://b

[Qemu-devel] [Bug 584155] Re: support horisontal mouse wheel

2010-05-22 Thread Loïc Minier
** Bug watch added: Debian Bug tracker #579968 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579968 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579968 Importance: Unknown Status: Unknown -- support horisontal mouse wheel https://bugs

[Qemu-devel] [Bug 584121] Re: migration always fails on 32bit qemu-kvm-0.12+ (sigsegv)

2010-05-22 Thread Loïc Minier
Sorry, I failed to realize that qemu-kvm uses the qemu project in launchpad to track bugs; so this is the right place to file these. Thanks! -- migration always fails on 32bit qemu-kvm-0.12+ (sigsegv) https://bugs.launchpad.net/bugs/584121 You received this bug notification because you are a mem

[Qemu-devel] [Bug 584131] Re: some guests hangs after migration (qemu-kvm-0.12)

2010-05-22 Thread Loïc Minier
** Bug watch added: Debian Bug tracker #580649 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649 ** Also affects: debian via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649 Importance: Unknown Status: Unknown -- some guests hangs after migration (qemu-kvm-0.12) http

[Qemu-devel] Graphics Device Passthrough

2010-05-22 Thread Adhyas Avasthi
Hello (newbie hacker to qemu community, so please excuse novice ignorances) I wish to pass-through a graphics controller to my Windows 7 VM running on qemu-kvm. I would like it to be PCI-Express (if that works, that is). Are there any recommended devices that I should purchase for this experime

[Qemu-devel] [Bug 584153] Re: no useful error message when tap device open fails

2010-05-22 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Unknown => Fix Released -- no useful error message when tap device open fails https://bugs.launchpad.net/bugs/584153 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Sta

[Qemu-devel] [Bug 584146] Re: Virtual fat breaks with -snapshot

2010-05-22 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Unknown => Confirmed -- Virtual fat breaks with -snapshot https://bugs.launchpad.net/bugs/584146 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Status in “qemu-kvm” pa

[Qemu-devel] [Bug 584139] Re: keymapping error for usb keyboard (windows/menu keys)

2010-05-22 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Unknown => Fix Released -- keymapping error for usb keyboard (windows/menu keys) https://bugs.launchpad.net/bugs/584139 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New

[Qemu-devel] [Bug 584155] Re: support horisontal mouse wheel

2010-05-22 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Unknown => Confirmed -- support horisontal mouse wheel https://bugs.launchpad.net/bugs/584155 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Status in “qemu-kvm” packa

[Qemu-devel] [Bug 584131] Re: some guests hangs after migration (qemu-kvm-0.12)

2010-05-22 Thread Bug Watch Updater
** Changed in: debian Status: Unknown => New -- some guests hangs after migration (qemu-kvm-0.12) https://bugs.launchpad.net/bugs/584131 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Status in Debian GNU/Lin

[Qemu-devel] [Bug 583462] Re: qemu disables screensaver

2010-05-22 Thread Jaap Versteegh
When I run $xtrace qemu I get: 001:<:00xx: 4: Request(115): ForceScreenSaver mode=Reset(0x00) every 4 seconds, which explains things I suppose. Why is that?? -- qemu disables screensaver https://bugs.launchpad.net/bugs/583462 You received this bug notification because you are a member of qemu

[Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-22 Thread Avi Kivity
On 05/22/2010 11:18 AM, Jan Kiszka wrote: From: Jan Kiszka This introduces device_show, a monitor command that saves the vmstate of a qdev device and visualizes it. QMP is also supported. Buffers are cut after 16 byte by default, but the full content can be requested via '-f'. To pretty-print su

[Qemu-devel] [PATCH 0/2] virtio-9p changes

2010-05-22 Thread Blue Swirl
With minor changes, I got virtio-9p compiled also on OpenBSD host. Blue Swirl (2): virtio-9p: make virtio-9p available to all POSIX systems virtio-9p: fix OpenBSD linker warnings Makefile.objs |8 Makefile.target |2 +- hw/virtio-9p.c |4 ++-- hw/virtio-pci.c |6 +

[Qemu-devel] [PATCH 1/2] virtio-9p: make virtio-9p available to all POSIX systems

2010-05-22 Thread Blue Swirl
Field d_off in struct dirent is Linux specific. Signed-off-by: Blue Swirl --- Makefile.objs |8 Makefile.target |2 +- hw/virtio-9p.c |2 +- hw/virtio-pci.c |6 +++--- hw/virtio.h |4 ++-- qemu-config.c |4 ++-- qemu-config.h |2 +- qemu-options.hx

[Qemu-devel] [PATCH 2/2] virtio-9p: fix OpenBSD linker warnings

2010-05-22 Thread Blue Swirl
virtio-9p.o(.text+0x13c0): In function `v9fs_string_alloc_printf': /src/qemu/hw/virtio-9p.c:270: warning: vsprintf() is often misused, please use vsnprintf() ../libhw32/vl.o(.text+0x757c): In function `main': /src/qemu/vl.c:3124: warning: sprintf() is often misused, please use snprintf() Signed-o

Re: [Qemu-devel] Graphics Device Passthrough

2010-05-22 Thread Blue Swirl
On Sat, May 22, 2010 at 4:49 PM, Adhyas Avasthi wrote: > Hello > > (newbie hacker to qemu community, so please excuse novice ignorances) > > > > I wish to pass-through a graphics controller to my Windows 7 VM running on > qemu-kvm. I would like it to be PCI-Express (if that works, that is). Are >

[Qemu-devel] [PATCH] ahci: handle writes to generic host control registers

2010-05-22 Thread Sebastian Herbszt
Handle writes to Generic Host Control registers. Signed-off-by: Sebastian Herbszt diff --git a/hw/ahci.c b/hw/ahci.c index f8e198c..178f9ea 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -425,7 +425,6 @@ static uint32_t ahci_mem_readl(void *ptr, target_phys_addr_t addr) static void ahci_mem_writel(

[Qemu-devel] [PATCH] ahci: fix global hba control default value

2010-05-22 Thread Sebastian Herbszt
Global HBA Control default value should be zero. Signed-off-by: Sebastian Herbszt diff --git a/hw/ahci.c b/hw/ahci.c index 178f9ea..ce87cbe 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -485,7 +485,6 @@ static void ahci_reg_init(AHCIState *s) { int i; s->control_regs.cap = 3 | (0x1f

[Qemu-devel] [RFC 0/5] Tracing backends

2010-05-22 Thread Stefan Hajnoczi
The following patches against qemu.git allow static trace events to be declared in QEMU. Trace events use a lightweight syntax and are independent of the backend tracing system (e.g. LTTng UST). Supported backends are: * my trivial tracer ("simple") * LTTng Userspace Tracer ("ust") * no tracer

[Qemu-devel] [PATCH 2/5] trace: Add simple built-in tracing backend

2010-05-22 Thread Stefan Hajnoczi
This patch adds a simple tracer which produces binary trace files and is built into QEMU. The main purpose of this patch is to show how new tracing backends can be added to tracetool. To try out the simple backend: ./configure --trace-backend=simple make After running QEMU you can pretty-print

[Qemu-devel] [PATCH 4/5] trace: Trace qemu_malloc() and qemu_vmalloc()

2010-05-22 Thread Stefan Hajnoczi
It is often useful to instrument memory management functions in order to find leaks or performance problems. This patch adds trace events for the memory allocation primitives. Signed-off-by: Stefan Hajnoczi --- An example of adding trace events. osdep.c |9 + qemu-malloc.c |

[Qemu-devel] [PATCH 3/5] trace: Add LTTng Userspace Tracer backend

2010-05-22 Thread Stefan Hajnoczi
This patch adds LTTng Userspace Tracer (UST) backend support. The UST system requires no kernel support but libust and liburcu must be installed. $ ./configure --trace-backend ust $ make Start the UST daemon: $ ustd & List available tracepoints and enable some: $ ustctl --list-markers $(pgrep q

[Qemu-devel] [PATCH 5/5] trace: Trace virtio-blk, multiwrite, and paio_submit

2010-05-22 Thread Stefan Hajnoczi
This patch adds trace events that make it possible to observe virtio-blk. Signed-off-by: Stefan Hajnoczi --- block.c|7 +++ hw/virtio-blk.c|7 +++ posix-aio-compat.c |2 ++ trace-events | 14 ++ 4 files changed, 30 insertions(+), 0 deletion

[Qemu-devel] [PATCH 1/5] trace: Add trace-events file for declaring trace events

2010-05-22 Thread Stefan Hajnoczi
This patch introduces the trace-events file where trace events can be declared like so: qemu_malloc(size_t size) "size %zu" qemu_free(void *ptr) "ptr %p" These trace event declarations are processed by a new tool called tracetool to generate code for the trace events. Trace event declarations ar

[Qemu-devel] [Bug 583462] Re: qemu disables screensaver

2010-05-22 Thread Jaap Versteegh
Looks like it is SDL related, because setting SDL_VIDEO_ALLOW_SCREENSAVER=1 fixes it. I understand disabling the screensaver is the default in SDL so the screensaver won't activate while watching a movie or playing a game. http://www.libsdl.org/faq.php?action=listentries&category=9#90 Since I d

RE: [Qemu-devel] Graphics Device Passthrough

2010-05-22 Thread adhyas.avasthi
In the options for qemu, I did see an option that allowed me to define a host bus:dev:fn number to be accessible to the guest. This was not one of the USB options I believe. So I assumed some kind of pass-through support is present. For a PCI pass-through, we probably would not need to emulate t

[Qemu-devel] [PATCH] Virtio-net: Replace the hardcode 6 with defined ETN_ALEN

2010-05-22 Thread akong
From: Amos Kong hw/virtio-net.h: #define ETH_ALEN6 ETH_ALEN was defined by commit 7967406801aa897fae83caad3278ac85a342adaa Signed-off-by: Amos Kong --- hw/virtio-net.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio-net.h b/hw/virtio-net.h index e5

[Qemu-devel] Inquiry about qemu for Motorola 68360

2010-05-22 Thread hadi motamedi
Dear All Do you have qemu emulator for Motorola 68360 emulation on x86 Windows platform? Thank you in advance