[Qemu-devel] [Bug 1027525] [NEW] Unable to insert cd media located on ro nfs mount

2012-07-22 Thread Kevin Shanahan
Public bug reported: When issuing a change command via the monitor, qemu is unable to open the iso file if it is mounted on a read-only nfs share. If I mount read- write (and make sure the file is writable by the qemu process), then the change command succeeds. Note that this doesn't affect media

[Qemu-devel] [Bug 1027525] Re: Unable to insert cd media located on ro nfs mount

2012-07-22 Thread Kevin Shanahan
I ran strace while running the test and I see few times: open(/srv/kvm/iso/ubuntu-12.04-server-amd64.iso, O_RDONLY|O_NONBLOCK) = 12 fstat(12, {st_mode=S_IFREG|0666, st_size=717533184, ...}) = 0 close(12) But the final open looks like this: open(/srv/kvm/iso/ubuntu-12.04-server-amd64.iso,

Re: [Qemu-devel] q35 and ahci

2012-07-22 Thread Gleb Natapov
On Fri, Jul 20, 2012 at 11:27:40AM -0400, Jason Baron wrote: On Thu, Jul 05, 2012 at 05:07:43PM +0200, Alexander Graf wrote: On 07/05/2012 04:06 PM, Jason Baron wrote: On Wed, Jul 04, 2012 at 10:33:18AM +0200, Alexander Graf wrote: On 04.07.2012, at 03:29, Jason Baron wrote: On Tue,

[Qemu-devel] [PATCH] configure: fix libcacard check

2012-07-22 Thread Alon Levy
SRC_PATH is undefined during configure run time, it is only defined in makefiles generated by it. Replace with source_path which is defined. Signed-off-by: Alon Levy al...@redhat.com --- configure |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index

Re: [Qemu-devel] [PATCH] configure: fix libcacard check

2012-07-22 Thread Peter Maydell
On 22 July 2012 12:00, Alon Levy al...@redhat.com wrote: SRC_PATH is undefined during configure run time, it is only defined in makefiles generated by it. Replace with source_path which is defined. There's a (slightly different) patch to address this issue in my configure series I posted

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the guest is panicked. If management app does not

Re: [Qemu-devel] [PATCH] configure: fix libcacard check

2012-07-22 Thread Alon Levy
On Sun, Jul 22, 2012 at 12:30:27PM +0100, Peter Maydell wrote: On 22 July 2012 12:00, Alon Levy al...@redhat.com wrote: SRC_PATH is undefined during configure run time, it is only defined in makefiles generated by it. Replace with source_path which is defined. There's a (slightly

Re: [Qemu-devel] [RFC PATCH 0/2] GlusterFS support in QEMU - v2

2012-07-22 Thread Stefan Hajnoczi
On Sat, Jul 21, 2012 at 9:29 AM, Bharata B Rao bhar...@linux.vnet.ibm.com wrote: -drive file=gluster:server@port:volname:image - Here 'gluster' is the protocol. - 'server@port' specifies the server where the volume file specification for the given volume resides. 'port' is the port number

Re: [Qemu-devel] question about qemu migrate.

2012-07-22 Thread Sheldon
On 07/22/2012 12:49 PM, Amos Kong wrote: On Sun, Jul 22, 2012 at 12:30 PM, Sheldon shao...@linux.vnet.ibm.com mailto:shao...@linux.vnet.ibm.com wrote: I find there are four kinds of uri for qmp_migrate tcp:, exec:, unix:, and fd: now I want to migrate the vm to a local file with

Re: [Qemu-devel] [RFC PATCH 2/2] block: gluster as block backend

2012-07-22 Thread Stefan Hajnoczi
On Sat, Jul 21, 2012 at 9:31 AM, Bharata B Rao bhar...@linux.vnet.ibm.com wrote: +typedef struct GlusterAIOCB { +BlockDriverAIOCB common; +QEMUIOVector *qiov; The qiov field is unused. +char *bounce; Unused. +struct BDRVGlusterState *s; You can get this through

Re: [Qemu-devel] Qemu-devel Digest, Vol 112, Issue 513

2012-07-22 Thread Paulo Arcinas
not get the the migrate information by hmp, there is not a query-migrate command in hmp-command. -- next part -- An HTML attachment was scrubbed... URL: http://lists.nongnu.org/archive/html/qemu-devel/attachments/20120722/bb1ee297/attachment.html

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include asm/processor.h @@ -221,6 +223,11 @@ static inline void kvm_disable_steal_time(void) } #endif +static inline unsigned int

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:14 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT(0x505UL) + #ifdef __KERNEL__ #include asm/processor.h @@ -221,6 +223,11 @@ static inline void

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/22/2012 10:19 PM, Sasha Levin wrote: On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include asm/processor.h @@ -221,6 +223,11 @@

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include asm/processor.h @@ -221,6 +223,11 @@

Re: [Qemu-devel] question about qemu migrate.

2012-07-22 Thread Amos Kong
On Sun, Jul 22, 2012 at 10:59 PM, Sheldon shao...@linux.vnet.ibm.com wrote: (qemu) migrate -d exec:cat/tmp/vm.out -incoming fd:/tmp/vm.out thank you. it can work now. there are still some questions. 1. the migration file vm.out is a QEMU suspend to disk image. How can I reboot vm.out

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 10:19 PM, Sasha Levin wrote: On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT (0x505UL) + #ifdef __KERNEL__ #include

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Anthony Liguori
Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 09:14 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another

[Qemu-devel] Closing an opened telnet monitor?

2012-07-22 Thread Erik Rull
Hi all, how can I close an open telnet session to my qemu monitor? I didn't find any possiblity beside killing my telnet client on my remote connected system. Is there a nicer way of doing that? quit is definitively the wrong command :-) Thanks. Best regards, Erik

Re: [Qemu-devel] Disabling Console Switch using Ctrl + Alt + 2

2012-07-22 Thread Erik Rull
Paolo Bonzini wrote: Il 16/07/2012 08:47, Erik Rull ha scritto: how can I disable a switch to the parallel0 console when accidentially pressing Ctrl + Alt + 2? I don't need such a feature and it confuses some users of the running guest system (some language layouts have the @ placed on the 2

Re: [Qemu-devel] [PATCH v7] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/23/2012 12:29 AM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 10:19 PM, Sasha Levin wrote: On 07/22/2012 09:22 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 09:12 AM, Wen Congyang wrote: +#define KVM_PV_PORT

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Sasha Levin
On 07/23/2012 12:36 AM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 09:14 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen.

Re: [Qemu-devel] [PATCH 2/2] vexpress: Add NOR1 Flash support

2012-07-22 Thread Peter Crosthwaite
On Sat, Jul 21, 2012 at 12:56 AM, jagan 402ja...@gmail.com wrote: Thanks for your info, In fact I was thinking about to use drive_get(IF_PFLASH, 0, 0) for first and drive_get(IF_PFLASH, 0, 1) also. But the point I was still uncover is even I was using drive_get(IF_PFLASH, 0, 0) on both

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Wen Congyang
At 07/22/2012 07:39 PM, Sasha Levin Wrote: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for example: libvirt) can do auto dump when the

Re: [Qemu-devel] [PATCH v7.5] kvm: notify host when the guest is panicked

2012-07-22 Thread Wen Congyang
At 07/23/2012 07:50 AM, Sasha Levin Wrote: On 07/23/2012 12:36 AM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/22/2012 09:14 PM, Anthony Liguori wrote: Sasha Levin levinsasha...@gmail.com writes: On 07/21/2012 10:44 AM, Wen Congyang wrote: We can know the guest

[Qemu-devel] [PULL] UniCore32 PUV3 machine support

2012-07-22 Thread gxt
are available in the git repository at: git://github.com/gxt/QEMU.git unicore32 Andreas Färber (1): target-unicore32: Drop UC32_CPUID macros Guan Xuetao (13): unicore32-softmmu: Add unicore32-softmmu build support unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd)

Re: [Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-22 Thread Juan Quintela
Paolo Bonzini pbonz...@redhat.com wrote: From: Zhang, Yang Z yang.z.zh...@intel.com The new logic is compatible with old, and it should not block migration from old QEMU. However, the new version cannot migrate to the old one. Cc: Juan Quintela quint...@redhat.com I guess that you removed

Re: [Qemu-devel] [PATCH 4/7] RTC: Update the RTC clock only when reading it

2012-07-22 Thread Juan Quintela
Paolo Bonzini pbonz...@redhat.com wrote: From: Zhang, Yang Z yang.z.zh...@intel.com Calculate guest RTC based on the time of the last update, instead of using timers. The formula is (base_rtc + guest_time_now - guest_time_last_update + offset) Base_rtc is the RTC value when the RTC

[Qemu-devel] [PATCH 0/3] vfio-pci: reworking end-of-interrupt

2012-07-22 Thread Alexey Kardashevskiy
Here is a small patchset just to keep moving. The main problem here is how we implement add_eoi_notifier() which is supposed to be a callback of a global interrupt controller which does not exists on QEMUMachine level. Alexey Kardashevskiy (3): xics: added end-of-interrupt (EOI) handlers

[Qemu-devel] [PATCH 1/3] xics: added end-of-interrupt (EOI) handlers

2012-07-22 Thread Alexey Kardashevskiy
The patch adds EOI handler to process h_eoi RTAS call correctly for PCI legacy interrupts. This functionality is going to be used in VFIO later. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- hw/xics.c | 13 + hw/xics.h |4 2 files changed, 17 insertions(+) diff

[Qemu-devel] [PATCH 2/3] ioapic: removed obsolete ioapic_remove_gsi_eoi_notifier

2012-07-22 Thread Alexey Kardashevskiy
As the Notifier struct contains everything it needs to get removed from the notifiers list, there is no need in ioapic_remove_gsi_eoi_notifier(). This patch removes it. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- hw/ioapic.c | 19 ++- hw/ioapic.h |1 - 2 files