Re: [Qemu-devel] [PATCH 2/3] use gettimeofday() instead of time()

2012-01-05 Thread Sasha Levin
On Fri, 2012-01-06 at 07:37 +, Zhang, Yang Z wrote: > Please refer the patch zero for the description. Each patch should have description about what it does in the changelog, otherwise you're going to lose important information about the change. Furthermore, cover letters don't get merged at

[Qemu-devel] [PATCH 2/3] use gettimeofday() instead of time()

2012-01-05 Thread Zhang, Yang Z
use gettimeofday() instead of time(). Please refer the patch zero for the description. Signed-off-by: Yang Zhang diff --git a/vl.c b/vl.c index 01c5a9d..9a51047 100644 --- a/vl.c +++ b/vl.c @@ -438,8 +438,11 @@ void qemu_get_timedate(struct tm *tm, int64_t offset) { time_t ti; struct

[Qemu-devel] [PATCH 3/3] stop the periodic RTC update timer

2012-01-05 Thread Zhang, Yang Z
change the RTC update logic to use host time with offset to calculate RTC clock. There have no need to use two periodic timers to maintain an internal timer for RTC clock update and alarm check. Instead, we calculate the real RTC time by the host time with an offset. For alarm and updated

[Qemu-devel] [PATCH 0/3] remove the periodic RTC update timer

2012-01-05 Thread Zhang, Yang Z
Recently, I did some work for power optimization w/ KVM and I found there was a periodic timer from qemu which stop the platform from staying deep C state for a long period. After looking into the qemu code, there was a periodic RTC update timer which is the culprit. In current RTC emula

[Qemu-devel] [PATCH 1/3]use int64 when compare two time

2012-01-05 Thread Zhang, Yang Z
use int64 when compare two time int32 only represent only 136 years when comparing two times based on second. It would be better to use int64. Signed-off-by: Yang Zhang diff --git a/qemu-common.h b/qemu-common.h index b2de015..c14f506 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -116,8 +1

Re: [Qemu-devel] 回??: [PATCH 2/2] umem: chardevice for kvm postcopy

2012-01-05 Thread thfbjyddx
Hi, Can you tell me the base version of the qemu? the postcopy patches make some conflicts on the qemu which I clone from the git Thanks! Tommy From: Isaku Yamahata Date: 2012-01-05 20:18 To: Tommy CC: t.hirofuchi; qemu-devel; kvm; satoshi.itoh Subject: Re: [Qemu-devel]回??: [PATCH 2/2] umem: c

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Gleb Natapov
On Thu, Jan 05, 2012 at 09:05:39PM -0500, Kevin O'Connor wrote: > On Thu, Jan 05, 2012 at 11:20:37AM +0200, Gleb Natapov wrote: > > On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote: > > > But as far as I remember therefore the option ROM registers through > > > BIOS for INT 19h boo

[Qemu-devel] [Bug 912612] Re: rhel5u5 guest panic when booting up

2012-01-05 Thread Yongjie Ren
** Attachment added: "guest panic serial log" https://bugs.launchpad.net/bugs/912612/+attachment/2659505/+files/guest-rhel5u5-panic.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/912612 Title:

[Qemu-devel] [Bug 912612] [NEW] rhel5u5 guest panic when booting up

2012-01-05 Thread Yongjie Ren
Public bug reported: Environment: Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): Linux(rhel5u5) kvm.git Commit:781f306789361d671187d9ddb518eea3ffda786a qemu-kvm Commit:2850e9e3d3119f98ff775a75503b2153836c7475 Host Kernel Version:3.2.0

[Qemu-devel] [Bug 912612] Re: rhel5u5 guest panic when booting up

2012-01-05 Thread Yongjie Ren
This should be a kvm kernel bug. As 'bugzilla.kernel.org' is down, I reported it here just for tracking. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/912612 Title: rhel5u5 guest panic when booting

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Kevin O'Connor
On Thu, Jan 05, 2012 at 11:20:37AM +0200, Gleb Natapov wrote: > On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote: > > But as far as I remember therefore the option ROM registers through > > BIOS for INT 19h booting. So Seabios should know it that this is a > > harddisk. > It regist

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-05 Thread Kevin O'Connor
On Thu, Jan 05, 2012 at 08:39:15AM +0100, Gerhard Wiesinger wrote: > BTW: I didn't get any answer to the following thread: > https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00602.html Odd - that email never made it to my inbox. Anyway, Gerd reported a similar issue to the SeaBIOS mailing

[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails

2012-01-05 Thread Michael Hope
Consider putting this in 2.15 as well. Talk with Matthias re: getting it into Ubuntu Precise either through a 2.13 backport or as part of a 2.15 update. ** Changed in: qemu-linaro Assignee: (unassigned) => Ken Werner (kwerner) -- You received this bug notification because you are a member

Re: [Qemu-devel] [PATCH] GuestAgent: PIDFILE remains when daemon start fails

2012-01-05 Thread Michael Roth
On 01/05/2012 04:26 PM, MATSUDA, Daiki wrote: Hi, all. I am trying QEMU Guest Agent and encountered a small bug. It is that the PIDFILE remains when daemon start fails. And maybe forgotton to g_free(). MATSUDA, Daiki Thanks for the patch. There was some contention in the past about whether

[Qemu-devel] [PATCH] GuestAgent: PIDFILE remains when daemon start fails

2012-01-05 Thread MATSUDA, Daiki
Hi, all. I am trying QEMU Guest Agent and encountered a small bug. It is that the PIDFILE remains when daemon start fails. And maybe forgotton to g_free(). MATSUDA, Daiki diff -uNrp qemu/qemu-ga.c qemu-c47f3223658119219bbe0b8d09da733d1c06e76f/qemu-ga.c --- qemu/qemu-ga.c 2012-01-05 01:06:

[Qemu-devel] [PATCH] GuestAgent: PIDFILE remains when daemon start fails

2012-01-05 Thread MATSUDA, Daiki
Hi, all. I am trying QEMU Guest Agent and encountered a small bug. It is that the PIDFILE remains when daemon start fails. And maybe forgotton to g_free(). MATSUDA, Daiki diff -uNrp qemu/qemu-ga.c qemu-c47f3223658119219bbe0b8d09da733d1c06e76f/qemu-ga.c --- qemu/qemu-ga.c 2012-01-05 01:06:25

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Michael Roth
On 01/05/2012 02:25 PM, Luiz Capitulino wrote: On Thu, 05 Jan 2012 09:10:50 -0600 Michael Roth wrote: On 01/05/2012 08:42 AM, Luiz Capitulino wrote: On Thu, 5 Jan 2012 12:59:27 + "Daniel P. Berrange" wrote: On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: On Thu, 5 Ja

[Qemu-devel] Fwd: oVirt FOSDEM sessions

2012-01-05 Thread Dor Laor
FYI, our mgmt related project to show nice presence at FOSDEM. Original Message Subject: FOSDEM sessions Date: Thu, 05 Jan 2012 22:28:28 +0200 From: Itamar Heim To: users , "bo...@ovirt.org" , engine-de...@ovirt.org,"vdsm-de...@lists.fedorahosted.org" fyi we got t

Re: [Qemu-devel] coroutine bug?, was Re: [PATCH] sheepdog: use coroutines

2012-01-05 Thread Paolo Bonzini
On 01/04/2012 04:58 PM, Christoph Hellwig wrote: Btw, what is the plan forward for the block I/O interface? Only qcow2, sheepdog and nbd implement the coroutine interfaces Actually all formats implement a coroutine interface except raw, qed and vdi (IIRC). But the "minor" formats do not im

Re: [Qemu-devel] [PATCH 2/2] Expose tsc deadline timer cpuid to guest

2012-01-05 Thread Jan Kiszka
On 2012-01-05 18:07, Liu, Jinsong wrote: >> Sorry, it remains bogus to expose the tsc deadline timer feature on >> machines < pc-1.1. That's just like we introduced kvmclock only to >> pc-0.14 onward. The reason is that guest OSes so far running on >> qemu-1.0 or older without deadline timer suppor

Re: [Qemu-devel] [libvirt] QMP: Supporting off tree APIs

2012-01-05 Thread Luiz Capitulino
On Thu, 05 Jan 2012 09:56:44 -0600 Anthony Liguori wrote: > On 01/05/2012 09:35 AM, Eric Blake wrote: > > On 01/05/2012 07:16 AM, Luiz Capitulino wrote: > >>> I know. We're stuck in a hard place here again because NotSupported > >>> has been in the Image Streaming API spec and hence implemented

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Luiz Capitulino
On Thu, 05 Jan 2012 09:10:50 -0600 Michael Roth wrote: > On 01/05/2012 08:42 AM, Luiz Capitulino wrote: > > On Thu, 5 Jan 2012 12:59:27 + > > "Daniel P. Berrange" wrote: > > > >> On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: > >>> On Thu, 5 Jan 2012 10:16:30 + > >>> "D

Re: [Qemu-devel] [PATCH 2/2] Expose tsc deadline timer cpuid to guest

2012-01-05 Thread Liu, Jinsong
> This requires some logic change and then rewording: > > - enable TSC deadline timer support by default if in-kernel irqchip is > used > - disable it on user request via a cpu feature flag Yes, the logic has been implemented by the former patch as: +if (env->tsc_deadline_timer_enabled) {

[Qemu-devel] [PATCH 4/5] arm: Add dummy support for co-processor 15's secure config register

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 26b49

[Qemu-devel] [PATCH v5 2/5] arm: make the number of GIC interrupts configurable

2012-01-05 Thread Mark Langsdorf
Increase the maximum number of GIC interrupts for a9mp and a11mp to 256, and create a configurable property for each defaulting to 96 and 64 (respectively) so that device modelers can set the value appropriately for their SoC. Other ARM processors also set their maximum number of used IRQs appropri

[Qemu-devel] [PATCH 5/5] arm: SoC model for Calxeda Highbank

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Makefile.target |1 + hw/highbank.c | 227 +++ 2 files changed, 228 insertions(+), 0 deletions(-) create mode 100

[Qemu-devel] [PATCH v5 1/5] Add xgmac ethernet model

2012-01-05 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH 3/5] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Renamed plat-ahci to sysbus-ahci Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure

[Qemu-devel] [PATCH 0/5] arm: add support for Calxeda Highbank SoC

2012-01-05 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Jan Kiszka
On 2012-01-05 15:50, Avi Kivity wrote: >> Let me summarize what we have come up with so far: >> >> - we move the call to xen_register_framebuffer before >> memory_region_init_ram in vga_common_init; >> >> - we prevent xen_ram_alloc from allocating a second framebuffer on >> restore, checking for mr

Re: [Qemu-devel] [PATCH 01/16] memory: move endianness compensation to memory core

2012-01-05 Thread Andreas Färber
Am 02.01.2012 17:33, schrieb Avi Kivity: > Instead of doing device endianness compensation in cpu_register_io_memory(), > do it in the memory core. > > Signed-off-by: Avi Kivity This further broke PReP boot (Etch 2.4.x kernel): be675c972088eba210e18dc125613e9f205a6bfb is the first bad commit co

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Avi Kivity
On 01/05/2012 07:21 PM, Stefano Stabellini wrote: > > > BTW what you are suggesting is not so different from what was done by > > > Anthony in the last patch series he sent. See the following (ugly) patch > > > to cirrus-vga.c to avoid accessing s->vga.vram_ptr before restore is > > > completed and

Re: [Qemu-devel] [PATCH 1/2] m48t59: drop obsolete address base arithmetic

2012-01-05 Thread Andreas Färber
Am 15.10.2011 15:50, schrieb Blue Swirl: > Remove now incorrect address base arithmetic, missed by > 9936d6e42392f1440505dfa9df065eabd251cadf. Fixes Sparc64 boot. ...but breaks PReP boot: ERROR: BUG caught... BIOS execution exception nip=0x0580 msr=0x2000 dar=0x dsisr=0x S

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Stefano Stabellini
On Thu, 5 Jan 2012, Avi Kivity wrote: > On 01/05/2012 05:53 PM, Stefano Stabellini wrote: > > > > > This involves: > > > - adding vmstate to xen-all.c so it can migrate the xen vram address > > > > Easy so far. > > > > > > > - making sure the memory core doesn't do mappings during restore (can be >

[Qemu-devel] [PATCH] prep: Fix offset of BIOS MemoryRegion

2012-01-05 Thread Andreas Färber
Since 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb (ppc_prep: convert to memory API) OHW was "Trying to execute code outside RAM or ROM at 0xfff00700". The BIOS MemoryRegion is created with a fixed size of 1 MiB. Ensure that the full size can be accessed since the exception vectors are located at 0xff

[Qemu-devel] [PATCH 3/3] arm: add dummy A9-specific cp15 registers

2012-01-05 Thread Peter Maydell
From: Mark Langsdorf Add dummy register support for the cp15, CRn=c15 registers. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf Signed-off-by: Peter Maydell --- target

[Qemu-devel] [PATCH 2/3] target-arm: Ignore attempts to set invalid modes in CPSR

2012-01-05 Thread Peter Maydell
Ignore attempts to set the CPSR mode field to an invalid value. This is UNPREDICTABLE, but we should not cpu_abort() for things a malicious guest (or a confused user on the gdbstub interface) can provoke. Signed-off-by: Peter Maydell --- target-arm/helper.c | 30 +-

[Qemu-devel] [PULL 0/3] target-arm queue

2012-01-05 Thread Peter Maydell
Pending target-arm patches; not very many, but seems better to commit them now, since there might be further trustzone related patches that would have to sit on top of these. Please pull. The following changes since commit c47f3223658119219bbe0b8d09da733d1c06e76f: Merge remote-tracking branch '

[Qemu-devel] [PATCH 1/3] target-arm: Don't use cpu_single_env in bank_number()

2012-01-05 Thread Peter Maydell
Avoid using cpu_single_env in bank_number() -- if we were called via the gdb stub reading or writing the CPSR then it is NULL and we will segfault if we take the cpu_abort(). Signed-off-by: Peter Maydell --- target-arm/helper.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-

Re: [Qemu-devel] [PATCH] PPC: Bump qemu-system-ppc to 64-bit physical address space

2012-01-05 Thread Andreas Färber
Am 05.01.2012 17:00, schrieb Andreas Färber: > Am 05.01.2012 16:52, schrieb Alexander Graf: >> >> On 05.01.2012, at 12:41, Andreas Färber wrote: >> >>> Am 18.10.2011 01:52, schrieb Alexander Graf: Some 32-bit PPC CPUs can use up to 36 bit of physicall address space. Treat them accordingly

Re: [Qemu-devel] Performance of USB2.0

2012-01-05 Thread Til Obes
Hello. Am 01.11.2011 10:37, schrieb Gerd Hoffmann: I think the main issue here is that we don't do buffering / pipelining for bulk transfers at the moment. We grab a single transfer request from the guest, pass it to the kernel, when it is done pass it back to the guest, then look look for the

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Avi Kivity
On 01/05/2012 05:53 PM, Stefano Stabellini wrote: > > > This involves: > > - adding vmstate to xen-all.c so it can migrate the xen vram address > > Easy so far. > > > > - making sure the memory core doesn't do mappings during restore (can be > > done by wrapping restore with > > memory_region_trans

[Qemu-devel] [Bug 883133] Re: qemu on ARM hosts asserts due to code buffer/libc heap conflict

2012-01-05 Thread Peter Maydell
NB: this would typically only happen when the ARM host had address space randomization including brk randomization enabled (ie /proc/sys/kernel/randomize_va_space is 2). -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.lau

Re: [Qemu-devel] [PATCH] PPC: Bump qemu-system-ppc to 64-bit physical address space

2012-01-05 Thread Andreas Färber
Am 05.01.2012 16:52, schrieb Alexander Graf: > > On 05.01.2012, at 12:41, Andreas Färber wrote: > >> Am 18.10.2011 01:52, schrieb Alexander Graf: >>> Some 32-bit PPC CPUs can use up to 36 bit of physicall address space. >>> Treat them accordingly in the qemu-system-ppc binary type. >> >> This cha

[Qemu-devel] [PATCH] usb-storage: cancel I/O on reset

2012-01-05 Thread Gerd Hoffmann
When resetting the usb-storage device we'll have to carefully cancel and clear any requests which might be in flight, otherwise we'll confuse the state machine. Signed-off-by: Gerd Hoffmann --- hw/usb-msd.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/hw/u

[Qemu-devel] [PATCH] usb-host: properly release port on unplug & exit

2012-01-05 Thread Gerd Hoffmann
Factor out port release into a separate function. Call release function in exit notifier too. Add explicit call the USBDEVFS_RELEASE_PORT ioctl, just closing the hub file handle seems not to be enougth. Make sure we release the port before resetting the device, otherwise host drivers will not re

Re: [Qemu-devel] [libvirt] QMP: Supporting off tree APIs

2012-01-05 Thread Anthony Liguori
On 01/05/2012 09:35 AM, Eric Blake wrote: On 01/05/2012 07:16 AM, Luiz Capitulino wrote: I know. We're stuck in a hard place here again because NotSupported has been in the Image Streaming API spec and hence implemented in libvirt for a while now. If we change this then an old client which onl

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Stefano Stabellini
On Thu, 5 Jan 2012, Avi Kivity wrote: > > If the MemoryRegions are re-created by the devices, then we need another > > mechanism to find out where the videoram is. > > What I am saying is that the suggestion of having a xen_address field > > for every MemoryRegion would make the code cleaner but it

Re: [Qemu-devel] [PATCH] PPC: Bump qemu-system-ppc to 64-bit physical address space

2012-01-05 Thread Alexander Graf
On 05.01.2012, at 12:41, Andreas Färber wrote: > Dear Mr. ppc, > > Am 18.10.2011 01:52, schrieb Alexander Graf: >> Some 32-bit PPC CPUs can use up to 36 bit of physicall address space. >> Treat them accordingly in the qemu-system-ppc binary type. > > This change broke the prep machine. :( > >

Re: [Qemu-devel] [PATCH v6] block:add-cow file format

2012-01-05 Thread Marcelo Tosatti
On Thu, Dec 29, 2011 at 05:36:59PM +0800, Dong Xu Wang wrote: > From: Dong Xu Wang > > Introduce a new file format: add-cow. The usage can be found in add-cow.txt of > this patch. > > CC: Kevin Wolf > CC: Stefan Hajnoczi > Signed-off-by: Dong Xu Wang > --- > After applying this patch, qemu mi

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Rob Herring
On 01/05/2012 09:32 AM, Peter Maydell wrote: > On 5 January 2012 15:11, Rob Herring wrote: >> Mark, there is not a qemu code dependency on Trustzone support, so we >> don't need to wait for that to add highbank support. > > That's good, because Trustzone support is not going to land imminently >

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
On 01/05/2012 09:32 AM, Peter Maydell wrote: > On 5 January 2012 15:11, Rob Herring wrote: >> Mark, there is not a qemu code dependency on Trustzone support, so we >> don't need to wait for that to add highbank support. > > That's good, because Trustzone support is not going to land imminently >

Re: [Qemu-devel] [libvirt] QMP: Supporting off tree APIs

2012-01-05 Thread Eric Blake
On 01/05/2012 07:16 AM, Luiz Capitulino wrote: >> I know. We're stuck in a hard place here again because NotSupported >> has been in the Image Streaming API spec and hence implemented in >> libvirt for a while now. If we change this then an old client which >> only understands NotSupported will n

Re: [Qemu-devel] [PATCH v9] arm: add dummy v7 cp15 registers

2012-01-05 Thread Mark Langsdorf
On 01/05/2012 09:33 AM, Peter Maydell wrote: > On 5 January 2012 13:16, Mark Langsdorf wrote: >> Add dummy register support for the cp15, CRn=c15 registers. >> >> config_base_register and power_control_register currently >> default to 0, but may have improved support after the QOM >> CPU patches a

Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API

2012-01-05 Thread Andreas Färber
Am 05.01.2012 15:57, schrieb Avi Kivity: > On 01/05/2012 04:45 PM, Andreas Färber wrote: >> Am 17.10.2011 16:02, schrieb Avi Kivity: >>> Signed-off-by: Avi Kivity >> >> This one originally broke the prep machine: >> > > Instructions on how to reproduce, please. ppc-softmmu/qemu-system-ppc -M pre

Re: [Qemu-devel] [PATCH v9] arm: add dummy v7 cp15 registers

2012-01-05 Thread Peter Maydell
On 5 January 2012 13:16, Mark Langsdorf wrote: > Add dummy register support for the cp15, CRn=c15 registers. > > config_base_register and power_control_register currently > default to 0, but may have improved support after the QOM > CPU patches are finished. > > Signed-off-by: Mark Langsdorf Rev

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Peter Maydell
On 5 January 2012 15:11, Rob Herring wrote: > Mark, there is not a qemu code dependency on Trustzone support, so we > don't need to wait for that to add highbank support. That's good, because Trustzone support is not going to land imminently I suspect, and it would be better not to have it as a d

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Avi Kivity
On 01/05/2012 04:34 PM, Stefano Stabellini wrote: > On Thu, 5 Jan 2012, Avi Kivity wrote: > > On 01/05/2012 03:17 PM, Stefano Stabellini wrote: > > > > > The "solution" I am proposing is introducing an early_savevm set of > > > > > save/restore functions so that at restore time we can get to know a

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Michael Roth
On 01/05/2012 09:11 AM, Daniel P. Berrange wrote: On Thu, Jan 05, 2012 at 09:04:57AM -0600, Michael Roth wrote: On 01/05/2012 06:59 AM, Daniel P. Berrange wrote: On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: On Thu, 5 Jan 2012 10:16:30 + "Daniel P. Berrange" wrote: O

Re: [Qemu-devel] [PATCH 03/30] ppc: remove ppc440 bamboo board support

2012-01-05 Thread François Revol
Le -10/01/-28163 20:59, Anthony Liguori a écrit : > This board never worked with TCG. It hasn't been updated since 0.13.0. I'm > fairly sure hardware doesn't exist anymore that you can run the KVM support > with. > > So let's remove it. It can always be restored later if there is interest > ag

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Alexander Graf
On 05.01.2012, at 16:11, Rob Herring wrote: > On 01/05/2012 08:35 AM, Mark Langsdorf wrote: >> On 01/05/2012 08:26 AM, Alexander Graf wrote: >>> >>> On 05.01.2012, at 15:16, Andreas Färber wrote: >>> Am 05.01.2012 14:52, schrieb Mark Langsdorf: > From: Rob Herring > > Add sup

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Daniel P. Berrange
On Thu, Jan 05, 2012 at 09:04:57AM -0600, Michael Roth wrote: > On 01/05/2012 06:59 AM, Daniel P. Berrange wrote: > >On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: > >>On Thu, 5 Jan 2012 10:16:30 + > >>"Daniel P. Berrange" wrote: > >> > >>>On Wed, Jan 04, 2012 at 05:45:11PM -

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Rob Herring
On 01/05/2012 08:35 AM, Mark Langsdorf wrote: > On 01/05/2012 08:26 AM, Alexander Graf wrote: >> >> On 05.01.2012, at 15:16, Andreas Färber wrote: >> >>> Am 05.01.2012 14:52, schrieb Mark Langsdorf: From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herri

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Michael Roth
On 01/05/2012 08:42 AM, Luiz Capitulino wrote: On Thu, 5 Jan 2012 12:59:27 + "Daniel P. Berrange" wrote: On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: On Thu, 5 Jan 2012 10:16:30 + "Daniel P. Berrange" wrote: On Wed, Jan 04, 2012 at 05:45:11PM -0200, Luiz Capitul

[Qemu-devel] [Bug 907994] Re: converting VDI to IMG

2012-01-05 Thread Stefan Weil
I close this bug report because it is a Windows feature, not a QEMU bug. ** Changed in: qemu Status: Incomplete => Invalid ** Changed in: qemu Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz) -- You received this bug notification because you are a member of qemu- devel-ml, wh

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Michael Roth
On 01/05/2012 06:59 AM, Daniel P. Berrange wrote: On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: On Thu, 5 Jan 2012 10:16:30 + "Daniel P. Berrange" wrote: On Wed, Jan 04, 2012 at 05:45:11PM -0200, Luiz Capitulino wrote: This version drops modes 'sleep' and 'hybrid' beca

Re: [Qemu-devel] 回??: [PATCH 2/2] umem: chardevice for kvm postcopy

2012-01-05 Thread Tommy Tang
sorry, it's: qemu -m 256 -hda xxx -monitor stdio -enable-kvm -postcopy -incoming tcp:0: -vnc :1 anything wrong? 于 2012/1/5 23:02, Tommy Tang 写道: > qemu -m 256 -hda xxx -monitor stdio -enable-kvm -postcopy -incoming > tcp:xxx: -vnc :1 > I think it doesn't go wrong > > 于 2012/1/5 20:18, Isa

Re: [Qemu-devel] 回??: [PATCH 2/2] umem: chardevice for kvm postcopy

2012-01-05 Thread Tommy Tang
qemu -m 256 -hda xxx -monitor stdio -enable-kvm -postcopy -incoming tcp:xxx: -vnc :1 I think it doesn't go wrong 于 2012/1/5 20:18, Isaku Yamahata 写道: > Hmm, this sounds like you haven't specified -postcopy option at the > incoming qemu. > How did you start incoming qemu? > > > On Thu, Jan 05,

[Qemu-devel] [Bug 897771] Re: qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2012-01-05 Thread Andreas Gustafsson
> note that the provided command-line is not sufficent, since the image directs all its output to the serial port (serial console), so you have to configure a serial port to see the messages That command line works as-is for me, and it's what I was told to use back when "-serial stdio -nographic"

Re: [Qemu-devel] vhost broken?

2012-01-05 Thread Michael S. Tsirkin
On Thu, Jan 05, 2012 at 01:16:22PM +0200, Avi Kivity wrote: > On 01/05/2012 01:05 PM, Gerd Hoffmann wrote: > > Hi, > > > > current master seems to corrupt guest memory, I get guest errors like > > this one: > > > > swap_dup: Bad swap file entry 1999800080 > > BUG: Bad page map in process udevd p

Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API

2012-01-05 Thread Avi Kivity
On 01/05/2012 04:45 PM, Andreas Färber wrote: > Am 17.10.2011 16:02, schrieb Avi Kivity: > > Signed-off-by: Avi Kivity > > This one originally broke the prep machine: > Instructions on how to reproduce, please. -- error compiling committee.c: too many arguments to function

Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API

2012-01-05 Thread Andreas Färber
Am 17.10.2011 16:02, schrieb Avi Kivity: > Signed-off-by: Avi Kivity This one originally broke the prep machine: 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb is the first bad commit commit 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb Author: Avi Kivity Date: Sun Sep 25 16:57:45 2011 +0300 ppc_pr

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Luiz Capitulino
On Thu, 5 Jan 2012 12:59:27 + "Daniel P. Berrange" wrote: > On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: > > On Thu, 5 Jan 2012 10:16:30 + > > "Daniel P. Berrange" wrote: > > > > > On Wed, Jan 04, 2012 at 05:45:11PM -0200, Luiz Capitulino wrote: > > > > This version

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Stefano Stabellini
On Thu, 5 Jan 2012, Avi Kivity wrote: > On 01/05/2012 03:17 PM, Stefano Stabellini wrote: > > > > The "solution" I am proposing is introducing an early_savevm set of > > > > save/restore functions so that at restore time we can get to know at > > > > what address the videoram is mapped into the gue

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
On 01/05/2012 08:26 AM, Alexander Graf wrote: > > On 05.01.2012, at 15:16, Andreas Färber wrote: > >> Am 05.01.2012 14:52, schrieb Mark Langsdorf: >>> From: Rob Herring >>> >>> Add support for ahci on sysbus. >>> >>> Signed-off-by: Rob Herring >>> Signed-off-by: Mark Langsdorf >>> --- >>> Chan

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Andreas Färber
Am 05.01.2012 15:26, schrieb Alexander Graf: > > On 05.01.2012, at 15:16, Andreas Färber wrote: > >> Am 05.01.2012 14:52, schrieb Mark Langsdorf: >>> From: Rob Herring >>> >>> Add support for ahci on sysbus. >>> >>> Signed-off-by: Rob Herring >>> Signed-off-by: Mark Langsdorf >>> --- >>> Chang

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Alexander Graf
On 05.01.2012, at 15:16, Andreas Färber wrote: > Am 05.01.2012 14:52, schrieb Mark Langsdorf: >> From: Rob Herring >> >> Add support for ahci on sysbus. >> >> Signed-off-by: Rob Herring >> Signed-off-by: Mark Langsdorf >> --- >> Changes from v1, v2 >> Corrected indentation of PlatAHCISt

[Qemu-devel] [Bug 502107] Re: qemu-kvm 0.12.1.2 crashes booting Ubuntu 9.10 with "-vga std"

2012-01-05 Thread Michael Tokarev
See also LP#717445: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/717445 which is exactly the same issue but reported against grub. And I tend to think more and more it is a grub bug after all, not qemu/kvm/bios bug. -- You received this bug notification because you are a member of qem

Re: [Qemu-devel] [PATCH] qemu-nbd: drop loop which can never loop

2012-01-05 Thread Stefan Hajnoczi
On Thu, Jan 5, 2012 at 1:29 PM, Paolo Bonzini wrote: > I suppose it will get in through your trivial patches tree, won't it? Yes

Re: [Qemu-devel] [PATCH v3 5/9] qmp: add block_stream command

2012-01-05 Thread Stefan Hajnoczi
On Thu, Jan 5, 2012 at 1:48 PM, Stefan Hajnoczi wrote: >>> +    /* Base device not supported */ >>> +    if (base) { >>> +        error_set(errp, QERR_NOT_SUPPORTED); >>> +        return; >>> +    } >> >> Is this a future feature? In this case I'd rather drop the argument for >> now and add it lat

Re: [Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Andreas Färber
Am 05.01.2012 14:52, schrieb Mark Langsdorf: > From: Rob Herring > > Add support for ahci on sysbus. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf > --- > Changes from v1, v2 > Corrected indentation of PlatAHCIState members > Made plat_ahci_info into a single struc

Re: [Qemu-devel] [PATCH v3 1/2] ahci: convert ahci_reset to use AHCIState

2012-01-05 Thread Alexander Graf
On 05.01.2012, at 14:52, Mark Langsdorf wrote: > From: Rob Herring > > Use AHCIState instead of AHCIPCIState so the function can be used for > non-PCI based AHCI controllers. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf Acked-by: Alexander Graf Alex

[Qemu-devel] QMP: Supporting off tree APIs

2012-01-05 Thread Luiz Capitulino
On Thu, 5 Jan 2012 13:48:43 + Stefan Hajnoczi wrote: > On Wed, Jan 4, 2012 at 12:59 PM, Luiz Capitulino > wrote: > > On Tue, 13 Dec 2011 13:52:27 + > > Stefan Hajnoczi wrote: > > > >> Add the block_stream command, which starts copy backing file contents > >> into the image file.  Later

Re: [Qemu-devel] [PATCH v3 1/2] ahci: convert ahci_reset to use AHCIState

2012-01-05 Thread Andreas Färber
Am 05.01.2012 14:52, schrieb Mark Langsdorf: > From: Rob Herring > > Use AHCIState instead of AHCIPCIState so the function can be used for > non-PCI based AHCI controllers. > > Signed-off-by: Rob Herring > Signed-off-by: Mark Langsdorf Reviewed-by: Andreas Färber Andreas > --- > Changes fr

[Qemu-devel] [PATCH v3 1/2] ahci: convert ahci_reset to use AHCIState

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Use AHCIState instead of AHCIPCIState so the function can be used for non-PCI based AHCI controllers. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 None hw/ide/ahci.c | 14 +++--- hw/ide/ich.c |4 ++-- 2 files change

[Qemu-devel] [PATCH v3 2/2] ahci: add support for non-PCI based controllers

2012-01-05 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure, not a list hw/ide/ahci.c | 31 +

[Qemu-devel] [Bug 897771] Re: qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2012-01-05 Thread Michael Tokarev
I verified the fix posted by Avi to qemu-devel: http://thread.gmane.org/gmane.comp.emulators.qemu/130695 fixes the boot crash of the mentioned image (note that the provided command-line is not sufficent, since the image directs all its output to the serial port (serial console), so you have to c

Re: [Qemu-devel] [PATCH v3 5/9] qmp: add block_stream command

2012-01-05 Thread Stefan Hajnoczi
On Wed, Jan 4, 2012 at 12:59 PM, Luiz Capitulino wrote: > On Tue, 13 Dec 2011 13:52:27 + > Stefan Hajnoczi wrote: > >> Add the block_stream command, which starts copy backing file contents >> into the image file.  Later patches add control over the background copy >> speed, cancelation, and q

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Avi Kivity
On 01/05/2012 03:17 PM, Stefano Stabellini wrote: > > > The "solution" I am proposing is introducing an early_savevm set of > > > save/restore functions so that at restore time we can get to know at > > > what address the videoram is mapped into the guest address space. Once we > > > know the addre

Re: [Qemu-devel] [PATCH] qemu-nbd: drop loop which can never loop

2012-01-05 Thread Paolo Bonzini
On 01/05/2012 02:16 PM, Stefan Hajnoczi wrote: For some reason nbd_client_thread() has a do..while loop which can never loop, the condition is bogus because we would take a goto instead. Drop the loop. Reported-by: Dr David Alan Gilbert Signed-off-by: Stefan Hajnoczi --- qemu-nbd.c | 10 +++

[Qemu-devel] [Bug 502107] Re: qemu-kvm 0.12.1.2 crashes booting Ubuntu 9.10 with "-vga std"

2012-01-05 Thread Claudio Matsuoka
It turns out that my previous attempt to reproduce the vga crash using an image generated by grub-mkrescue (which is easier to work with than dealing with a full Ubuntu image) is invalid due to bad instrumentation in the "normal" module init and a stack overflow produced similar results including t

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Stefano Stabellini
On Thu, 5 Jan 2012, Avi Kivity wrote: > On 01/05/2012 02:30 PM, Stefano Stabellini wrote: > > > > > > > > I cannot see how this is going to fix the save/restore issue we are > > > > trying to solve. > > > > The problem, unfortunately very complex, is that at restore time the > > > > videoram is alr

[Qemu-devel] [PATCH] qemu-nbd: drop loop which can never loop

2012-01-05 Thread Stefan Hajnoczi
For some reason nbd_client_thread() has a do..while loop which can never loop, the condition is bogus because we would take a goto instead. Drop the loop. Reported-by: Dr David Alan Gilbert Signed-off-by: Stefan Hajnoczi --- qemu-nbd.c | 10 -- 1 files changed, 4 insertions(+), 6 del

[Qemu-devel] [PATCH v9] arm: add dummy v7 cp15 registers

2012-01-05 Thread Mark Langsdorf
Add dummy register support for the cp15, CRn=c15 registers. config_base_register and power_control_register currently default to 0, but may have improved support after the QOM CPU patches are finished. Signed-off-by: Mark Langsdorf --- Changes from v8 Removed c1_scr Changes from v7

[Qemu-devel] [PULL] xen memory fix

2012-01-05 Thread Stefano Stabellini
Hi Anthony, I have a single fix (also appended) for Xen by Anthony Perard, to remove a bug recently introduced by the memory api changes: Anthony PERARD (1): xen: Fix after recent change in dirty bitmap tracking. xen-all.c | 38 ++ 1 files changed, 18

Re: [Qemu-devel] [PATCH v4 0/2]: qemu-ga: Add the guest-suspend command

2012-01-05 Thread Daniel P. Berrange
On Thu, Jan 05, 2012 at 10:37:14AM -0200, Luiz Capitulino wrote: > On Thu, 5 Jan 2012 10:16:30 + > "Daniel P. Berrange" wrote: > > > On Wed, Jan 04, 2012 at 05:45:11PM -0200, Luiz Capitulino wrote: > > > This version drops modes 'sleep' and 'hybrid' because they don't work > > > properly due

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-05 Thread Luiz Capitulino
On Thu, 5 Jan 2012 12:46:56 + "Daniel P. Berrange" wrote: > On Wed, Jan 04, 2012 at 05:45:13PM -0200, Luiz Capitulino wrote: > > diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c > > index a09c8ca..19f29c6 100644 > > --- a/qga/guest-agent-commands.c > > +++ b/qga/guest-agen

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-05 Thread Avi Kivity
On 01/05/2012 02:30 PM, Stefano Stabellini wrote: > > > > > > I cannot see how this is going to fix the save/restore issue we are > > > trying to solve. > > > The problem, unfortunately very complex, is that at restore time the > > > videoram is already allocated at the physical address it was mapp

Re: [Qemu-devel] [PATCH V2] xen: Fix after recent change in dirty bitmap tracking.

2012-01-05 Thread Stefano Stabellini
On Thu, 5 Jan 2012, Anthony PERARD wrote: > A recent patch set from Avi break the dirty bitmap support of Xen. But this is > because xen_sync_dirty_bitmap will return an error for an unhandled memory > range (a - b). However this is not a fatal error, so we should just > continue instead of

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: Add the guest-suspend command

2012-01-05 Thread Daniel P. Berrange
On Wed, Jan 04, 2012 at 05:45:13PM -0200, Luiz Capitulino wrote: > diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c > index a09c8ca..19f29c6 100644 > --- a/qga/guest-agent-commands.c > +++ b/qga/guest-agent-commands.c > @@ -574,6 +574,61 @@ int64_t qmp_guest_fsfreeze_thaw(Error

  1   2   >