Re: [Qemu-devel] QEMU-KVM and hardened (GRSEC/PaX) kernel

2011-04-19 Thread Антон Кочков
Already changed to Grsecutiry -> Security level -> Virtualization But issue still here: qemu-kvm starts, show as running, but nothing inside: (qemu) info kvm kvm support: enabled (qemu) info cpus * CPU #0: pc=0x0010017c (halted) thread_id=4688 (qemu) info pci Bus 0, device 0, functi

[Qemu-devel] why does qemu i386 userspace emulation crashes when pthread used?

2011-04-19 Thread Yale Zhang
Hi. I'm want to run some pthread programs using qemu userspace emulation (target=i386, host=x86_64,arm), but see NPTL support isn't supported for the i386 target. I have applied a patch from here http://patchwork.ozlabs.org/patch/45206/ and used it to run a simple pthread fork, join program. The pr

Re: [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: add inject-nmi qmp command

2011-04-19 Thread Lai Jiangshan
On 04/20/2011 09:53 AM, Lai Jiangshan wrote: > On 04/04/2011 09:09 PM, Anthony Liguori wrote: >> On 04/04/2011 07:19 AM, Markus Armbruster wrote: >>> [Note cc: Anthony] >>> >>> "Daniel P. Berrange" writes: >>> On Mon, Mar 07, 2011 at 05:46:28PM +0800, Lai Jiangshan wrote: > From: Lai Jian

Re: [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: add inject-nmi qmp command

2011-04-19 Thread Lai Jiangshan
On 04/04/2011 09:09 PM, Anthony Liguori wrote: > On 04/04/2011 07:19 AM, Markus Armbruster wrote: >> [Note cc: Anthony] >> >> "Daniel P. Berrange" writes: >> >>> On Mon, Mar 07, 2011 at 05:46:28PM +0800, Lai Jiangshan wrote: From: Lai Jiangshan Date: Mon, 7 Mar 2011 17:05:15 +0800 S

[Qemu-devel] [RFC PATCH 0/3 V8] QAPI: add inject-nmi qmp command

2011-04-19 Thread Lai Jiangshan
These patches are applied for "http://repo.or.cz/r/qemu/aliguori.git glib". These patches add QAPI inject-nmi. They are passed checkpatch.pl and the build. But the result qemu executable file is not tested, because the result qemu of "http://repo.or.cz/r/qemu/aliguori.git glib" can't work in my

[Qemu-devel] [RFC PATCH 1/3 V8] QError: Introduce QERR_UNSUPPORTED

2011-04-19 Thread Lai Jiangshan
New QERR_UNSUPPORTED for unsupported commands or requests. Signed-off-by: Lai Jiangshan --- qerror.c |4 qerror.h |3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/qerror.c b/qerror.c index c76257f..bafe520 100644 --- a/qerror.c +++ b/qerror.c @@ -213,6 +213,1

[Qemu-devel] [RFC PATCH 3/3 V8] qapi-hmp: Convert HMP nmi to use QMP

2011-04-19 Thread Lai Jiangshan
Convert the name of HMP nmi to inject-nmi, and use QMP inject-nmi. The behavier is also changed, it injects NMI to all CPUs of the guest. When the guest is non-x86, it reports "Unsupported" error. Signed-off-by: Lai Jiangshan --- hmp-commands.hx | 18 -- hmp.c | 12

[Qemu-devel] [RFC PATCH 2/3 V8] qapi, nmi: add inject-nmi qmp command

2011-04-19 Thread Lai Jiangshan
inject-nmi command injects an NMI on all CPUs of guest. It is only supported for x86 guest currently, it will returns "Unsupported" error for non-x86 guest. Signed-off-by: Lai Jiangshan --- qapi-schema.json | 12 qmp.c| 17 + 2 files changed, 29 ins

Re: [Qemu-devel] [PATCH 1/3] pseries: Increase maximum CPUs to 256

2011-04-19 Thread David Gibson
On Tue, Apr 19, 2011 at 05:02:21PM +0200, Alexander Graf wrote: > On 04/19/2011 02:44 PM, David Gibson wrote: > >On Tue, Apr 19, 2011 at 09:38:58AM +0200, Alexander Graf wrote: > >>On 19.04.2011, at 03:54, David Gibson wrote: > >> > >>>From: Anton Blanchard > >>> > >>>The original pSeries machine w

Re: [Qemu-devel] [PATCH] configure: Make epoll_create1 test work around SPARC glibc bug

2011-04-19 Thread Peter Maydell
On 19 April 2011 21:36, Blue Swirl wrote: > Sorry, I just picked a define without much thought. A more specific > one would be flags parameter of epoll_create1(), like EPOLL_CLOEXEC or > EPOLL_NONBLOCK. We don't use them now since the target system call > argument is passed untranslated to host, b

<    1   2