Re: [Qemu-devel] Boot from disk problem

2011-11-26 Thread Blue Swirl
On Fri, Nov 25, 2011 at 18:24, Ignacio Geli ig...@itecnis.com wrote: El 25/11/11 13:01, Andreas Färber escribió: Hi, Am 25.11.2011 16:23, schrieb Ignacio Geli: Im trying to run a solaris 2.5.1 vm acording the instructions of i found in this blog:

Re: [Qemu-devel] [PATCH 7/8] vmstate: Add copyright info for ppc processor

2011-11-26 Thread Blue Swirl
On Wed, Nov 23, 2011 at 15:44, Juan Quintela quint...@redhat.com wrote: v2: Move license to BSD-like as in vl.c Signed-off-by: Juan Quintela quint...@redhat.com ---  target-ppc/vmstate-cpu.c |   28  1 files changed, 28 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 8/8] vmstate: Add copyright info for sparc processor

2011-11-26 Thread Blue Swirl
On Wed, Nov 23, 2011 at 15:44, Juan Quintela quint...@redhat.com wrote: v2: Move license to BSD-like as in vl.c This does not belong to the commit message. Signed-off-by: Juan Quintela quint...@redhat.com ---  target-sparc/vmstate-cpu.c |   29 +  1 files changed,

Re: [Qemu-devel] [PATCH] target-xtensa: fix MMUv3 initialization

2011-11-26 Thread Blue Swirl
Thanks, applied. On Tue, Nov 22, 2011 at 07:59, Max Filippov jcmvb...@gmail.com wrote: - ITLB/DTLB ways 5 and 6 have 4 and 8 entries respectively; - ITLB/DTLB way 6 attr field is set to 3 on reset. Signed-off-by: Max Filippov jcmvb...@gmail.com ---  target-xtensa/helper.c       |    2 +-  

Re: [Qemu-devel] [PATCH 1.0] checkpatch.pl: fix CAST detection

2011-11-26 Thread Blue Swirl
Thanks, applied. On Fri, Nov 25, 2011 at 09:24, Paolo Bonzini pbonz...@redhat.com wrote: From: Florian Mickler flor...@mickler.org We should only claim that something is a cast if we did not encouter a token before, that did set av_pending. This fixes the operator * in the line below to be

Re: [Qemu-devel] [PATCH 1.0] tci: Add entry to MAINTAINERS

2011-11-26 Thread Blue Swirl
Thanks, applied. On Thu, Nov 24, 2011 at 22:20, Stefan Weil s...@weilnetz.de wrote: This should have be part of my TCI patch series. Signed-off-by: Stefan Weil s...@weilnetz.de ---  MAINTAINERS |    5 +  1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS

[Qemu-devel] [PATCH 1.0] MAINTAINERS: add checkpatch

2011-11-26 Thread Blue Swirl
Signed-off-by: Blue Swirl blauwir...@gmail.com --- MAINTAINERS |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7ee301e..a8b397d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -485,6 +485,11 @@ S: Maintained F: trace/ T:

Re: [Qemu-devel] [RFC] dump memory when host pci device is used by guest

2011-11-26 Thread Jan Kiszka
On 2011-11-21 06:06, Wen Congyang wrote: At 11/18/2011 08:46 PM, Jan Kiszka Write: On 2011-11-16 14:29, Dave Anderson wrote: - Original Message - Hi, all 'virsh dump' can not work when host pci device is used by guest. We have discussed this issue here:

[Qemu-devel] how is the status of sparc virtualization

2011-11-26 Thread Greg Stevn
Is there virtualization method for sparc on linux?

Re: [Qemu-devel] [PATCH v2 0/8] [RFC] vmstate: Add copyrights for all cpus

2011-11-26 Thread Andreas Färber
Hi Juan, Am 23.11.2011 16:44, schrieb Juan Quintela: [ Resnd this time also ading fabrice address, sorry ] v2: - split patches by file, make easier to add acked-by notices. - cc'd fabrice - everybody (except for Thiemo for ovbious reasons) answered. - move ppc/sparc/i386 to BSD like

[Qemu-devel] how is the status of arm virtualization

2011-11-26 Thread Greg Stevn
How many virtualization methods for arm on linux?

[Qemu-devel] [PATCH] mips: Fix BC1ANY[24]F instructions

2011-11-26 Thread Richard Sandiford
There's some dodgy application of De Morgan's law in the emulation of the MIPS BC1ANY[24]F instructions: they end up branching only if all CCs are false, rather than if one CC is. Tested on mips64-linux-gnu, where it fixes the GCC MIPS3D tests. Signed-off-by: Richard Sandiford

Re: [Qemu-devel] [PATCH V2 0/4] imx.31 and KZM board support

2011-11-26 Thread Peter Maydell
On 26 November 2011 05:21, Peter Chubb pet...@gelato.unsw.edu.au wrote: For this patch series, Peter M says to just use hw_error() (even though he really doesn't like it). No, that was about the sp804 patch, which is just tweaking an existing device. These are new devices. Perhaps just having

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-26 Thread Gauresh Rane
The problem was indeed with the stack. It's just doing a fake push, that is the environment variables are updated but the the variables are not loaded into the stack. I see the values in the stack always are zero. I am trying to figure out what might be the reason for this. Thanks for the

Re: [Qemu-devel] [PATCH 1.0] virtio: add and use virtio_set_features

2011-11-26 Thread Michael S. Tsirkin
On Fri, Nov 25, 2011 at 09:23:42AM +0100, Paolo Bonzini wrote: On 11/24/2011 06:55 PM, Michael S. Tsirkin wrote: Could some backend make it a hard failure? I don't see how, there's no way to report a failure from an io port write. You can exit(1), or fall back to a restricted set of

Re: [Qemu-devel] [RFC] dump memory when host pci device is used by guest

2011-11-26 Thread Sergio Durigan Junior
Jan Kiszka jan.kis...@web.de writes: On 2011-11-21 06:06, Wen Congyang wrote: At 11/18/2011 08:46 PM, Jan Kiszka Write: On 2011-11-16 14:29, Dave Anderson wrote: - Original Message - Hi, all 'virsh dump' can not work when host pci device is used by guest. We have discussed this

[Qemu-devel] Patch to add iSCSI configuration options

2011-11-26 Thread Ronnie Sahlberg
List, Please find a patch that adds configuration options for iSCSI. The patch allows setting the options either via -iscsi on the command line or via a configuration file read by -readconfig Options available at this stage are * initiator-name to use when logging in to the targer * header-digest

[Qemu-devel] [PATCH] iSCSI: add configuration variables for iSCSI

2011-11-26 Thread Ronnie Sahlberg
This patch adds configuration variables for iSCSI to set initiator-name to use when logging in to the target, which type of header-digest to negotiate with the target and username and password for CHAP authentication. This allows specifying a initiator-name either from the command line -iscsi

Re: [Qemu-devel] Problem with translating on ARM and Qemu beginner question

2011-11-26 Thread Gauresh Rane
Works Like a charmThe memory at that place was indeed not allocated. Thanks for your help. Regards, Gauresh Rane Grad Student CS Department UCLA - Original Message - From: Peter Maydell peter.mayd...@linaro.org To: Max Filippov jcmvb...@gmail.com Cc: Gauresh Rane gdr...@cs.ucla.edu,

[Qemu-devel] [PATCH 2/2] kvm: exit to userspace with reason KVM_EXIT_VCPU_DEAD

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com The vcpu can be safely released when --1.guest tells us that the vcpu is not needed any longer. --2.vcpu hits the last instruction _halt_ If both of the conditions are satisfied, kvm exits to userspace with the reason vcpu dead. So the user thread

[Qemu-devel] [PATCH 1/5] QEMU Add cpu_phyid_to_cpu() to map cpu phyid to CPUState

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com The guest has different cpu logic id from qemu, but they have the same phyid. When cpu phyid is told by guest, we need to obtain the corresponding CPUState. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- target-i386/cpu.h|2 ++

[Qemu-devel] [PATCH 2/5] QEMU Add cpu_free() to support arch related CPUState release

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com When exiting from vcpu thread, the CPUState must be freed firstly. And the handling process is an arch related. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- hw/apic.c|4 target-i386/cpu.h|3 +++

[Qemu-devel] [PATCH 3/5] QEMU Introduce a pci device cpustate to get CPU_DEAD event in guest

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com This device's driver in guest can get vcpu dead event and notify qemu through the device. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- Makefile.target |1 + hw/pc_piix.c |1 + hw/pci.c | 22 +++

[Qemu-devel] [PATCH 4/5] QEMU Release vcpu and finally exit vcpu thread safely

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com When guest driver tell us that the vcpu is no longer needed, qemu can release the vcpu and finally exit vcpu thread Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- cpu-defs.h|5 + cpus.c| 21

[Qemu-devel] [PATCH 5/5] QEMU tmp patches for linux-header files

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Temporary patch for qemu to compile. Normally the headers should be copied from kernel. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- kvm/include/linux/kvm.h |9 - linux-headers/linux/kvm.h |9 + 2 files

[Qemu-devel] [PATCH] virtio: add a pci driver to notify host the CPU_DEAD event

2011-11-26 Thread Liu Ping Fan
From: Liu Ping Fan pingf...@linux.vnet.ibm.com A driver for qemu device cpustate. This driver catch the guest CPU_DEAD event, and notify host. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- drivers/virtio/Kconfig |6 ++ drivers/virtio/Makefile|1 +

Re: [Qemu-devel] [PATCH 0] A series patches for kvmqemu to enable vcpu destruction in kvm

2011-11-26 Thread Liu ping fan
On Sat, Nov 26, 2011 at 1:54 AM, Jan Kiszka jan.kis...@web.de wrote: On 2011-11-25 00:35, Liu Ping Fan wrote: A series of patches from kvm, qemu to guest. These patches will finally enable vcpu destruction in kvm instance and let vcpu thread exit in qemu. Currently, the vcpu online feature

Re: [Qemu-devel] [PATCH 1/3] omap: remove L4_MUX_HACK

2011-11-26 Thread andrzej zaborowski
On 24 November 2011 16:57, Avi Kivity a...@redhat.com wrote: This was introduced apparently to overcome a limitation on the number of cpu_register_io_memory() calls.  477b24ef91175 (July 2008) removed use of the hack, but retained the code.  This patch removes the code as well. Signed-off-by:

[Qemu-devel] Add native debugger

2011-11-26 Thread Rick Hodgin
For i386, I'm considering writing a native debugger for QEMU that is not GDB. It would allow a separate/new windowed interface which would show disassembly, registers, stack, local variables, memory windows, etc., allowing the user to single-step through code and trap opcodes like INT 1, INT 3,

Re: [Qemu-devel] [PATCH 3/3] omap_l4: add memory API variant of omap_l4_attach()

2011-11-26 Thread andrzej zaborowski
On 24 November 2011 16:57, Avi Kivity a...@redhat.com wrote: Also add omap_l4_region_size(), since memory API functions need the size during initialization. Logically it should be one of the omap_l4_* functions that set the size for the region instead of the target agents because this is where