Re: [Qemu-devel] [PATCH v3 3/4] fdc: rewrite seek and DSKCHG bit handling

2012-06-12 Thread Paolo Bonzini
Il 12/06/2012 13:19, Pavel Hrdina ha scritto: This bit is cleared on every successful seek to a different track (cylinder). The seek is also called on revalidate or on read/write/format commands which also clear the DSKCHG bit. Signed-off-by: Pavel Hrdina phrd...@redhat.com --- hw/fdc.c |

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-12 Thread Avi Kivity
On 06/12/2012 03:58 PM, Peter Maydell wrote: On 11 June 2012 18:31, Avi Kivity a...@redhat.com wrote: On 06/11/2012 06:01 PM, Anthony Liguori wrote: Perhaps we should just make MemoryRegion work in both directions? The other direction is currently cpu_physical_memory_rw(). We do need to

Re: [Qemu-devel] [PATCH 3/3] deal with guest panicked event

2012-06-12 Thread Luiz Capitulino
On Tue, 12 Jun 2012 13:40:45 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Tue, Jun 12, 2012 at 09:35:04AM -0300, Luiz Capitulino wrote: On Tue, 12 Jun 2012 14:55:37 +0800 Wen Congyang we...@cn.fujitsu.com wrote: +static void panicked_perform_action(void) +{ +

Re: [Qemu-devel] [PATCH 3/3] deal with guest panicked event

2012-06-12 Thread Paolo Bonzini
Il 21/05/2012 08:50, Wen Congyang ha scritto: +DEF(onpanic, HAS_ARG, QEMU_OPTION_onpanic, \ +-onpanic report|pause|quit\n \ +action when the guest is panicked [default=report], +QEMU_ARCH_ALL) +STEXI +@item -onpanic @var{action} + +The @var{action} controls what

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-12 Thread Peter Maydell
On 12 June 2012 14:18, Avi Kivity a...@redhat.com wrote: On 06/12/2012 03:58 PM, Peter Maydell wrote: On 11 June 2012 18:31, Avi Kivity a...@redhat.com wrote: On 06/11/2012 06:01 PM, Anthony Liguori wrote: Perhaps we should just make MemoryRegion work in both directions? The other direction

Re: [Qemu-devel] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-06-12 Thread Stefano Stabellini
On Tue, 12 Jun 2012, Andreas Färber wrote: Am 12.06.2012 14:37, schrieb Stefano Stabellini: On Tue, 12 Jun 2012, Andreas Färber wrote: Am 12.06.2012 10:24, schrieb Andreas Färber: Am 29.05.2012 15:35, schrieb Stefano Stabellini: The check-qtest-i386 qemu-system-i386 process now hangs at

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-06-12 Thread Andreas Färber
Am 14.05.2012 14:20, schrieb Kevin Wolf: Am 13.05.2012 10:03, schrieb Zhouyi Zhou: hi all sometimes, qemu/kvm-0.1x will hang in endless loop in qcow2_alloc_cluster_offset. after some investigation, I found that: in function posix_aio_process_queue(void *opaque) 440

Re: [Qemu-devel] KVM call agenda for Thrusday, June 12th

2012-06-12 Thread Juan Quintela
Juan Quintela quint...@redhat.com wrote: Hi Please, send in any agenda items you are interested in covering. As there are no topics, call gets cancelled until next week that our fearless leader would be back. Have a nice day, Juan.

Re: [Qemu-devel] fixing qemu-0.1X endless loop in qcow2_alloc_cluster_offset

2012-06-12 Thread Kevin Wolf
Am 12.06.2012 15:33, schrieb Andreas Färber: Am 14.05.2012 14:20, schrieb Kevin Wolf: Am 13.05.2012 10:03, schrieb Zhouyi Zhou: hi all sometimes, qemu/kvm-0.1x will hang in endless loop in qcow2_alloc_cluster_offset. after some investigation, I found that: in function

[Qemu-devel] qemu vgasrc

2012-06-12 Thread Michael Tokarev
How do you think, whenever it is a good idea to let vgasrc vgabios to be used with 1.1 qemu and qemu-kvm in the upcoming Debian stable release, codename wheezy? I tested pre-1.1 qemu with this vgabios when seabios 1.7.0 has been released, but obviously I can't test all aspects of it. For one, I

[Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Kevin Wolf
copy_sectors() always uses the sum (cluster_offset + n_start) or (start_sect + n_start), so if some value is added to both cluster_offset and start_sect, and subtracted from n_start, it's cancelled out anyway. Signed-off-by: Kevin Wolf kw...@redhat.com --- block/qcow2-cluster.c |5 ++--- 1

[Qemu-devel] [PATCH] qcow2: Fix avail_sectors in cluster allocation code

2012-06-12 Thread Kevin Wolf
avail_sectors should really be the number of sectors from the start of the allocation, not from the start of the write request. We're lucky enough that this mistake didn't cause any real bug. avail_sectors is only used in the intialiser of QCowL2Meta: .nb_available = MIN(requested_sectors,

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-12 Thread Avi Kivity
On 06/12/2012 04:32 PM, Peter Maydell wrote: On 12 June 2012 14:18, Avi Kivity a...@redhat.com wrote: On 06/12/2012 03:58 PM, Peter Maydell wrote: On 11 June 2012 18:31, Avi Kivity a...@redhat.com wrote: On 06/11/2012 06:01 PM, Anthony Liguori wrote: Perhaps we should just make MemoryRegion

Re: [Qemu-devel] [PATCH v3 0/9] {alpha-}linux user improvements

2012-06-12 Thread Richard Henderson
Ping? r~ On 2012-06-07 15:24, Richard Henderson wrote: Changes v2-v3: Fix fcntl translation table in O_CLOEXEC patch. The O_LARGEFILE entry could result in an end-of-table {0,0,0,0} marker. Handle sigprocmask and getpriority properly for alpha. Changes v1-v2: Dropped

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-12 Thread Andreas Färber
Am 12.06.2012 15:32, schrieb Peter Maydell: [...] I'm not sure if anybody's thought about how we expose memory regions in a QOM manner.) Anthony had that in his i440fx RFC. /-F -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix

Re: [Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Paolo Bonzini
Il 12/06/2012 15:47, Kevin Wolf ha scritto: copy_sectors() always uses the sum (cluster_offset + n_start) or (start_sect + n_start), so if some value is added to both cluster_offset and start_sect, and subtracted from n_start, it's cancelled out anyway. Signed-off-by: Kevin Wolf

[Qemu-devel] [PATCH] net: complete NetSocketState lifecycle handling

2012-06-12 Thread Stefan Hajnoczi
The NetSocketState struct contains two file descriptors: an active connection and a listen socket for new connections. It's important that we clean up after ourselves so these file descriptors are initialized to -1 when unused. This allows makes it possible to call cleanup functions only when

Re: [Qemu-devel] [RFC PATCH 1/1] linux-user: Probe the guest base for shared objects when needed

2012-06-12 Thread Richard Henderson
On 2012-06-07 13:59, Meador Inge wrote: load_addr = loaddr; if (ehdr-e_type == ET_DYN) { +if (loaddr mmap_min_addr) +probe_guest_base(image_name, loaddr, hiaddr); This doesn't make any sense. loaddr is almost certainly 0, unless you've pre-linked the ld.so

Re: [Qemu-devel] [PATCH v6 2/2] net: add the support for -netdev socket, listen

2012-06-12 Thread Stefan Hajnoczi
On Tue, Jun 12, 2012 at 2:05 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com The -net socket,listen option does not work with the newer -netdev syntax:  http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html This patch makes it work now. For the

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Andreas Färber
Am 08.06.2012 00:24, schrieb Richard Henderson: Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/cpu.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 99f9ee1..0d87fa7 100644 ---

Re: [Qemu-devel] [PATCH] MIPS: Correct FCR0 initialization

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:04, Maciej W. Rozycki wrote: I have verified this change with system emulation running the GDB test suite for the mips-sde-elf target (o32, big endian, 24Kf CPU emulated), there were 55 progressions and no regressions. Signed-off-by: Maciej W. Rozycki

Re: [Qemu-devel] [PATCH 1/2] Makefile: Remove BUILD_DIR from qapi-dir

2012-06-12 Thread Michael Roth
On Tue, Jun 12, 2012 at 10:49:57AM +0100, Stefan Hajnoczi wrote: On Sat, Jun 09, 2012 at 09:08:38AM +0200, Stefan Weil wrote: qapi-dir does not need an absolute path. All other build directories are relative. When BUILD_DIR is removed, the build output looks better (no long lines with

Re: [Qemu-devel] KVM call agenda for Thrusday, June 12th

2012-06-12 Thread Anthony Liguori
On 06/11/2012 05:16 AM, Juan Quintela wrote: Hi Please, send in any agenda items you are interested in covering. For next week, I'd like to queue up the following topic: - multithreading vhost (and general vhost improvements) Regards, Anthony Liguori Later, Juan. -- To unsubscribe

Re: [Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Kevin Wolf
Am 12.06.2012 16:00, schrieb Paolo Bonzini: Il 12/06/2012 15:47, Kevin Wolf ha scritto: copy_sectors() always uses the sum (cluster_offset + n_start) or (start_sect + n_start), so if some value is added to both cluster_offset and start_sect, and subtracted from n_start, it's cancelled out

[Qemu-devel] [PATCH v5] Release 0.11.0

2012-06-12 Thread Alon Levy
Current bumped and age bumped for new intefaces only (no backward incompatible changes). New libtool version is 2.0.1, using --version-info instead of --version-name. Doing the version change and --version-name to --version-info change here to avoid changing the libtool version twice. Added

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Richard Henderson
On 2012-06-12 07:12, Andreas Färber wrote: This looks fishy to me... why should the kernel use a bigger address space than hardware? For arm on x86_64 such a workaround was not necessary iirc. I can tell you what I observe. That with a certain sequence of allocations the x86_64 kernel will

Re: [Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Paolo Bonzini
Il 12/06/2012 16:21, Kevin Wolf ha scritto: diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index 9aee9fc..763b724 100644 --- a/block/qcow2-cluster.c +++ b/block/qcow2-cluster.c @@ -640,11 +640,10 @@ int qcow2_alloc_cluster_link_l2(BlockDriverState *bs, QCowL2Meta *m) }

Re: [Qemu-devel] [PATCH] MIPS/system: MTC0 single-stepping PC update fix

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:05, Maciej W. Rozycki wrote: if (env-singlestep_enabled ctx.bstate != BS_BRANCH) { -save_cpu_state(ctx, ctx.bstate == BS_NONE); +save_cpu_state(ctx, ctx.bstate != BS_EXCP); gen_helper_0i(raise_exception, EXCP_DEBUG); Reviewed-by: Richard

Re: [Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Kevin Wolf
Am 12.06.2012 16:31, schrieb Paolo Bonzini: Il 12/06/2012 16:21, Kevin Wolf ha scritto: diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index 9aee9fc..763b724 100644 --- a/block/qcow2-cluster.c +++ b/block/qcow2-cluster.c @@ -640,11 +640,10 @@ int

Re: [Qemu-devel] KVM call agenda for Thrusday, June 12th

2012-06-12 Thread Michael S. Tsirkin
On Tue, Jun 12, 2012 at 09:15:17AM -0500, Anthony Liguori wrote: On 06/11/2012 05:16 AM, Juan Quintela wrote: Hi Please, send in any agenda items you are interested in covering. For next week, I'd like to queue up the following topic: - multithreading vhost (and general vhost

Re: [Qemu-devel] [PATCH] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Paolo Bonzini
Il 12/06/2012 16:37, Kevin Wolf ha scritto: align_offset(m-nb_available+1, s-cluster_sectors) Heh, yes, you're thinking about equivalence of the very formula (which is what I would do in unknown code as well), whereas I think about a COW operation that ranges from a given sector to the

Re: [Qemu-devel] [PATCH v5] Release 0.11.0

2012-06-12 Thread Marc-André Lureau
ack On Tue, Jun 12, 2012 at 4:27 PM, Alon Levy al...@redhat.com wrote: Current bumped and age bumped for new intefaces only (no backward incompatible changes). New libtool version is 2.0.1, using --version-info instead of --version-name. Doing the version change and --version-name to

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Alexander Graf
On 12.06.2012, at 16:27, Richard Henderson r...@twiddle.net wrote: On 2012-06-12 07:12, Andreas Färber wrote: This looks fishy to me... why should the kernel use a bigger address space than hardware? For arm on x86_64 such a workaround was not necessary iirc. I can tell you what I

Re: [Qemu-devel] [PATCH] MIPS: Correct branch-likely single-stepping

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:05, Maciej W. Rozycki wrote: From: Nathan Froyd froy...@codesourcery.com We have a problem with single-stepping branch-likely instructions. Here's Nathan's original note: [This] is a problem with single-stepping in QEMU: it manifests as the program corrupting the

[Qemu-devel] Qemu with Segmentation fault (core dumped)

2012-06-12 Thread Maurizio Caloro
Hello Qemu-group Compilation installation running without problem QEMU emulator version 1.1.50, but if try to use Qemu in diffrent way i have the following Segemntfault message for any possible help iam Happy. Similar question Starting witout succsess in netbsdforum. regards Mauri # QEMU

[Qemu-devel] [Bug 1012023] [NEW] Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread BRULE Herman
Public bug reported: Hello, with installed windows, or with install cd I have a blue screen (crash) after the first windows logo, see the screenshot. Thanks to fix it. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a

[Qemu-devel] [PATCH] Fix for qemu crash on assertion error when adding PCI passthru device.

2012-06-12 Thread Ma, Stephen B.
Title: Fix for qemu crash on assertion error when adding PCI passthru device. Description: On a kernel 3.4.0+ without having interrupt remapping enabled, starting a VM having a PCI passthrough device fails. ON q qemu-kvm built with --enable-debug, qemu aborts. Qemu-kvm is executed via virsh.

Re: [Qemu-devel] one question on the makefile

2012-06-12 Thread Richard Yang
On Tue, Jun 12, 2012 at 10:50:33AM +0200, Paolo Bonzini wrote: Il 12/06/2012 10:33, Wei Yang ha scritto: .PHONY: $(patsubst %, check-qtest-%, $(QTEST_TARGETS)) $(patsubst %, check-qtest-%, $(QTEST_TARGETS)): check-qtest-%: $(check-qtest-y) $(call

[Qemu-devel] [PATCH v2] qcow2: Simplify calculation for COW area at the end

2012-06-12 Thread Kevin Wolf
copy_sectors() always uses the sum (cluster_offset + n_start) or (start_sect + n_start), so if some value is added to both cluster_offset and start_sect, and subtracted from n_start, it's cancelled out anyway. Signed-off-by: Kevin Wolf kw...@redhat.com --- block/qcow2-cluster.c |5 ++--- 1

Re: [Qemu-devel] [PATCH] MIPS: Remove obsolete comment about OPC_JALX

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:06, Maciej W. Rozycki wrote: Someone was kind enough to push that change upstream on my behalf, but somehow the piece to update the comment accordingly was missed and not propagated. Here's an update to remove the obsolete and now misleading comment. Signed-off-by:

Re: [Qemu-devel] [PATCH] MIPS: Correct MIPS16/microMIPS branch size calculation

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:06, Maciej W. Rozycki wrote: Use MIPS_HFLAG_B16 to determine the address of a jump instruction when we need to restart a delay slot instruction. and was not accompanied by a test case nor I have one offhand. However this change appears obviously correct to me, and the

Re: [Qemu-devel] [PATCH] MIPS/GDB: Correct stub handling of CP0 Status and Cause

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:07, Maciej W. Rozycki wrote: +/* Called for updates to CP0_Status. */ +static inline void sync_c0_status(CPUMIPSState *env, int tc) Any reason why these rather large functions are inline rather than being in helper.c? Otherwise, the change to gdbstub.c is most proper. r~

[Qemu-devel] [PATCH V12 4/9] pci.c: Add opaque argument to pci_for_each_device.

2012-06-12 Thread Anthony PERARD
The purpose is to have a more generic pci_for_each_device by passing an extra argument to the function called on every device. This patch will be used in a next patch. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com ---

[Qemu-devel] [PATCH] qemu-img: document qed format on qemu-img man page

2012-06-12 Thread Stefan Hajnoczi
The qemu-img.1 man page is missing the qed format from its list of supported formats. Document the image creation options for qed. Suggested-by: Michael Tokarev m...@tls.msk.ru Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- When the qcow2 QED mode is merged we can update this

Re: [Qemu-devel] [PATCH] MIPS: Correct MIPS16/microMIPS branch size calculation

2012-06-12 Thread Peter Maydell
On 8 June 2012 02:06, Maciej W. Rozycki ma...@codesourcery.com wrote: From: Nathan Froyd froy...@codesourcery.com  Nathan's original terse comment: Use MIPS_HFLAG_B16 to determine the address of a jump instruction when we need to restart a delay slot instruction. and was not accompanied by

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Alexander Graf
On 12.06.2012, at 16:57, Richard Henderson r...@twiddle.net wrote: On 2012-06-12 07:53, Alexander Graf wrote: On 12.06.2012, at 16:27, Richard Henderson r...@twiddle.net wrote: On 2012-06-12 07:12, Andreas Färber wrote: This looks fishy to me... why should the kernel use a bigger

Re: [Qemu-devel] [PATCH V12 5/9] Revert pci: don't export an internal function

2012-06-12 Thread Michael S. Tsirkin
On Tue, Jun 12, 2012 at 04:05:19PM +0100, Anthony PERARD wrote: This reverts commit 94a09e2c846374a96719cda2b4e1312d8c4b08a7. This function is used by a later patch to parse the BDF of the device to passthrough. Signed-off-by: Anthony PERARD anthony.per...@citrix.com You probably want to

Re: [Qemu-devel] [PATCH] qemu-img: document qed format on qemu-img man page

2012-06-12 Thread Kevin Wolf
Am 12.06.2012 17:05, schrieb Stefan Hajnoczi: The qemu-img.1 man page is missing the qed format from its list of supported formats. Document the image creation options for qed. Suggested-by: Michael Tokarev m...@tls.msk.ru Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH] MIPS/GDB: Correct stub handling of CP1 FIR

2012-06-12 Thread Richard Henderson
On 2012-06-07 18:08, Maciej W. Rozycki wrote: The CP1 FIR register is read-only, ignore any write attempts from the GDB stub. Signed-off-by: Maciej W. Rozycki ma...@codesourcery.com Reviewed-by: Richard Henderson r...@twiddle.net r~

[Qemu-devel] [PATCH v4 0/3] Simpletrace v2: Support multiple args, strings.

2012-06-12 Thread Harsh Prateek Bora
Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records and therefore allows to trace variable number of args including strings. Sample trace: v9fs_version 0.000 tag=0x id=0x64 msize=0x2000

[Qemu-devel] [PATCH v4 3/3] Update simpletrace.py for new log format

2012-06-12 Thread Harsh Prateek Bora
Support new tracelog format for multiple arguments and strings. Signed-off-by: Harsh Prateek Bora ha...@linux.vnet.ibm.com --- scripts/simpletrace.py | 116 +++- 1 file changed, 75 insertions(+), 41 deletions(-) diff --git a/scripts/simpletrace.py

[Qemu-devel] memory.c: ml-printed is never set to true

2012-06-12 Thread Jason Baron
Hi, I was looking at mtree_info() and noticed that ml-printed is never set to true, so it does not appear to be doing anything. It seems like we want to print the hierarchy for all aliases so perhaps it should just be dropped? Thanks, -Jason

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Richard Henderson
On 2012-06-12 08:11, Alexander Graf wrote: 32G is way too much. Do you have to preallocate such a big address space? Usually 1G should be good enough for most programs, no? The default start to .text is 6G for alpha executables, so anything less than that + reasonable room will fail for obvious

[Qemu-devel] [PATCH V12 0/9] Xen PCI Passthrough

2012-06-12 Thread Anthony PERARD
Hi all, This patch series introduces the PCI passthrough for Xen. Please ack the generic bits so that Stefano can send a pull request: patches 1, 2, 4 and 5. Thanks, Changes since the last time: - new patch to export pci_parse_devaddr, so it can be used to parse a BDF in xen_pt. #

Re: [Qemu-devel] Large sized guest taking for ever to boot...

2012-06-12 Thread Chegu Vinod
On 6/8/2012 11:37 AM, Jan Kiszka wrote: On 2012-06-08 20:20, Chegu Vinod wrote: On 6/8/2012 11:08 AM, Jan Kiszka wrote: [CC'ing qemu as this discusses its code base] On 2012-06-08 19:57, Chegu Vinod wrote: On 6/8/2012 10:42 AM, Alex Williamson wrote: On Fri, 2012-06-08 at 10:10 -0700, Chegu

[Qemu-devel] [PATCH V12 3/9] Introduce XenHostPCIDevice to access a pci device on the host.

2012-06-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/i386/Makefile.objs|1 + hw/xen-host-pci-device.c | 396 ++ hw/xen-host-pci-device.h | 55 +++ 3 files changed, 452 insertions(+), 0 deletions(-) create mode 100644

Re: [Qemu-devel] Large sized guest taking for ever to boot...

2012-06-12 Thread Gleb Natapov
On Tue, Jun 12, 2012 at 08:33:59AM -0700, Chegu Vinod wrote: I rebuilt the 3.4.1 kernel in the guest from scratch and retried my experiments and measured the boot times... a) Host : RHEL6.3 RC1 + qemu-kvm (that came with it) Guest : RHEL6.3 RC1: ~1 min b) Host :3.4.1 + qemu-kvm.git

[Qemu-devel] [PATCH V12 7/9] Introduce Xen PCI Passthrough, PCI config space helpers (2/3)

2012-06-12 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH V12 9/9] Introduce Xen PCI Passthrough, MSI (3/3)

2012-06-12 Thread Anthony PERARD
From: Jiang Yunhong yunhong.ji...@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Jiang Yunhong yunhong.ji...@intel.com Signed-off-by: Shan Haitao haitao.s...@intel.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com

[Qemu-devel] [PATCH V12 5/9] Revert pci: don't export an internal function

2012-06-12 Thread Anthony PERARD
This reverts commit 94a09e2c846374a96719cda2b4e1312d8c4b08a7. This function is used by a later patch to parse the BDF of the device to passthrough. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- hw/pci.c |2 +- hw/pci.h |2 ++ 2 files changed, 3 insertions(+), 1

[Qemu-devel] [PATCH V12 8/9] Introduce apic-msidef.h

2012-06-12 Thread Anthony PERARD
This patch move the msi definition from apic.c to apic-msidef.h. So it can be used also by other .c files. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/apic-msidef.h | 30 ++ hw/apic.c

[Qemu-devel] [PATCH V12 1/9] pci_ids: Add INTEL_82599_SFP_VF id.

2012-06-12 Thread Anthony PERARD
We are using this in our quirk lookup provided by patch titled: Introduce Xen PCI Passthrough, PCI config space helpers. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- hw/pci_ids.h |1 + 1 files changed, 1

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread Michael Tokarev
This is a wonderful bugreport. With no information whatsoever. Can we close it with works for me resolution already? ;) Seriously, please provide at least version of qemu and kernel you're using, together with complete qemu command line. -- You received this bug notification because you are a

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread Michael Tokarev
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/956374 - the same STOP code, fwiw. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1012023 Title: Windows 7 bluescreen STOP: 0005D Status

[Qemu-devel] [PATCH V12 6/9] Introduce Xen PCI Passthrough, qdevice (1/3)

2012-06-12 Thread Anthony PERARD
From: Allen Kay allen.m@intel.com A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay allen.m@intel.com Signed-off-by: Guy Zana g...@neocleus.com Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano

[Qemu-devel] [PATCH v4 1/3] monitor: remove unused do_info_trace

2012-06-12 Thread Harsh Prateek Bora
Going forward with simpletrace v2 variable size trace records, we cannot have a generic function to print trace event info and therefore this interface becomes invalid. As per Stefan Hajnoczi: This command is only available from the human monitor. It's not very useful because it historically

[Qemu-devel] [PATCH] slirp: Handle whole 127.0.0.0/8 network as local addresses.

2012-06-12 Thread Anders Waldenborg
Changes so translation of remote address to the host's ip address in the virtual network happens for all addresses in the 127.0.0.0/8 network, not just 127.0.0.1. This fixes hostfwd bound to addresses such as 127.0.0.2 works Signed-off-by: Anders Waldenborg and...@0x63.nu --- slirp/main.h |

Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems

2012-06-12 Thread Richard Henderson
On 2012-06-12 07:53, Alexander Graf wrote: On 12.06.2012, at 16:27, Richard Henderson r...@twiddle.net wrote: On 2012-06-12 07:12, Andreas Färber wrote: This looks fishy to me... why should the kernel use a bigger address space than hardware? For arm on x86_64 such a workaround was not

[Qemu-devel] [PATCH v4 2/3] Simpletrace v2: Support multiple arguments, strings.

2012-06-12 Thread Harsh Prateek Bora
Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records and therefore allows to trace variable number of args including strings. Sample trace with strings: v9fs_version 0.000 tag=0x id=0x64 msize=0x2000

[Qemu-devel] [PATCH V12 2/9] configure: Introduce --enable-xen-pci-passthrough.

2012-06-12 Thread Anthony PERARD
Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- configure | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread BRULE Herman
** Attachment added: crash.png https://bugs.launchpad.net/bugs/1012023/+attachment/3186089/+files/crash.png -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1012023 Title: Windows 7 bluescreen

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread BRULE Herman
Last version of QEMU (1.0.1 - I have try other minor version, 1.0), I have try with multiple kernel (3.4, 3.5), no dmesg info. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1012023 Title: Windows

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread BRULE Herman
Hardware info: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz 00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11) 00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11) 00:05.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 3

[Qemu-devel] [PATCH 01/10] scsi: simplify handling of the VPD page length field

2012-06-12 Thread Paolo Bonzini
The last four bytes of the thin provisioning page were cut out. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/scsi-disk.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 045c764..2bd8907 100644 ---

[Qemu-devel] [PULL 00/10] SCSI updates for 2012-06-12

2012-06-12 Thread Paolo Bonzini
Anthony, The following changes since commit dbaf26b3b22daae3be6a89b965e43503e7c3b912: Revert build: compile oslib-obj-y once (2012-06-10 20:29:19 +) are available in the git repository at: git://github.com/bonzini/qemu.git scsi-next for you to fetch changes up to

[Qemu-devel] [PATCH 02/10] scsi: add a qdev property for the disk's WWN

2012-06-12 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/scsi-disk.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 2bd8907..8882f69 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -68,6 +68,7 @@ struct SCSIDiskState

[Qemu-devel] [PATCH 07/10] megasas: Add header file

2012-06-12 Thread Paolo Bonzini
From: Hannes Reinecke h...@suse.de This patch adds the header file for megasas. Signed-off-by: Hannes Reinecke h...@suse.de Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/mfi.h | 1248 ++ 1 file changed, 1248 insertions(+)

[Qemu-devel] [PATCH 10/10] virtio-scsi: do not crash on adding buffers to the event queue

2012-06-12 Thread Paolo Bonzini
The event queue is not supported yet and the handler does not have to do much anyway when buffers are added. However, the handler is called unconditionally by the virtio layer, and this results in a crash as soon as buffers are added to the event queue because we pass NULL. Reported-by: Bryan

[Qemu-devel] [PATCH 04/10] scsi-disk: implement READ DISC INFORMATION

2012-06-12 Thread Paolo Bonzini
This command is not necessary for CD-ROM and DVD-ROM, but some versions of udev trip on its absence. Cc: Kevin Wolf kw...@redhat.com Cc: Markus Armbruster arm...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/scsi-defs.h |1 + hw/scsi-disk.c | 40

[Qemu-devel] [PATCH 06/10] ISCSI: force use of sg for SMC and SSC devices

2012-06-12 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com If the device we open is a SMC or SSC device, then force the use of sg. We dont have any medium changer or tape emulation so only passthrough via real sg or scsi-generic via iscsi would work anyway. Forcing sg also makes qemu skip trying to read

[Qemu-devel] [PATCH 03/10] atapi: implement READ DISC INFORMATION

2012-06-12 Thread Paolo Bonzini
This command is not necessary for CD-ROM and DVD-ROM, but some versions of udev trip on its absence. Cc: Kevin Wolf kw...@redhat.com Cc: Markus Armbruster arm...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/ide/atapi.c | 31 +++ 1 file changed,

[Qemu-devel] [PATCH 09/10] megasas: Add trace events

2012-06-12 Thread Paolo Bonzini
From: Hannes Reinecke h...@suse.de This patch add trace events to the megasas HBA emulation. Signed-off-by: Hannes Reinecke h...@suse.de Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/megasas.c | 348 +- trace-events | 79

[Qemu-devel] [PATCH 05/10] ISCSI: Add SCSI passthrough via scsi-generic to libiscsi

2012-06-12 Thread Paolo Bonzini
From: Ronnie Sahlberg ronniesahlb...@gmail.com Update iscsi to allow passthrough of SG_IO scsi commands when the iscsi device is forced to be scsi-generic. Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend, emulate the SG_IO ioctl and pass the SCSI commands across to the

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread Michael Tokarev
Can we close this with works for me already? Can you FINALLY provide the command line? Thanks. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1012023 Title: Windows 7 bluescreen STOP: 0005D

Re: [Qemu-devel] Large sized guest taking for ever to boot...

2012-06-12 Thread Chegu Vinod
On 6/12/2012 8:39 AM, Gleb Natapov wrote: On Tue, Jun 12, 2012 at 08:33:59AM -0700, Chegu Vinod wrote: I rebuilt the 3.4.1 kernel in the guest from scratch and retried my experiments and measured the boot times... a) Host : RHEL6.3 RC1 + qemu-kvm (that came with it) Guest : RHEL6.3 RC1: ~1

Re: [Qemu-devel] [RFC PATCH 1/1] linux-user: Probe the guest base for shared objects when needed

2012-06-12 Thread Meador Inge
On 06/12/2012 09:08 AM, Richard Henderson wrote: On 2012-06-07 13:59, Meador Inge wrote: load_addr = loaddr; if (ehdr-e_type == ET_DYN) { +if (loaddr mmap_min_addr) +probe_guest_base(image_name, loaddr, hiaddr); This doesn't make any sense. loaddr is almost

Re: [Qemu-devel] [PATCH v3 28/29] configure: ensure directory exists when creating symlink

2012-06-12 Thread Andreas Färber
Am 07.06.2012 09:40, schrieb Paolo Bonzini: From: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- configure |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index cd5e8b3..cbcbcb1 100755 ---

Re: [Qemu-devel] [PATCH v2 0/3] Clean up includes of monitor.h

2012-06-12 Thread Luiz Capitulino
On Thu, 7 Jun 2012 04:02:19 +0200 Paolo Bonzini pbonz...@redhat.com wrote: There is no reason why QAPI clients should use monitor.h at all, qerror.h suffices. qmp-commands.h uses the Monitor typedef, but it is only included from files that already get the typedef from qemu-common.h.

[Qemu-devel] [Bug 1012023] Re: Windows 7 bluescreen STOP: 00000005D

2012-06-12 Thread BRULE Herman
/usr/bin/qemu-system-x86_64 -drive file=hdd.img,if=virtio,cache=unsafe -k fr -alt-grab -m 1024 -vga vmware -net nic,vlan=0,model=virtio -net user But bug will ALL cli and options. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [PATCH] configure: fix -enable-debug with newer toolchains

2012-06-12 Thread Eduardo Habkost
On Wed, Jun 06, 2012 at 12:03:18PM +0300, Avi Kivity wrote: Fedora 17's toolchain wants optimization enabled for _FORTIFY_SOURCE; so disable _FORTIFY_SOURCE when debugging. Signed-off-by: Avi Kivity a...@redhat.com I was bitten by this problem too. The patch fixes it for me. Tested-by:

Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-06-12 Thread Luiz Capitulino
On Sat, 09 Jun 2012 23:36:26 +0200 Stefan Weil s...@weilnetz.de wrote: Am 22.05.2012 22:24, schrieb Stefan Weil: Am 14.05.2012 21:47, schrieb Stefan Weil: Each string which is shown during readline completion in the QEMU monitor is allocated dynamically but currently never deallocated.

Re: [Qemu-devel] [PATCH] Fix some more license versions (GPL2+ instead of GPL2)

2012-06-12 Thread Luiz Capitulino
On Mon, 11 Jun 2012 07:49:18 +0200 Stefan Weil s...@weilnetz.de wrote: Cc: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Stefan Weil s...@weilnetz.de Applied to the qmp branch, thanks. --- Wen Congyang, would you please add your Signed-off-by? Thanks, Stefan W.

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: add guest-fstrim command

2012-06-12 Thread Luiz Capitulino
On Tue, 12 Jun 2012 12:50:08 +0200 Paolo Bonzini pbonz...@redhat.com wrote: FITRIM is a mounted filesystem feature to discard (or trim) blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. Provide access to the feature

[Qemu-devel] [PATCH] msix: Support specifying offsets, BARs, and capability location

2012-06-12 Thread Alex Williamson
msix_init has very little configurability as to how it lays out MSIX for a device. It claims to resize BARs, but doesn't actually do this anymore. This patch allows MSIX to be fully specified, which is necessary both for emulated devices trying to match the physical layout of a hardware device

Re: [Qemu-devel] [PATCH 2/2] qemu-ga: add guest-fstrim command

2012-06-12 Thread Michael Roth
On Tue, Jun 12, 2012 at 12:50:08PM +0200, Paolo Bonzini wrote: FITRIM is a mounted filesystem feature to discard (or trim) blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. Provide access to the feature from the host so

Re: [Qemu-devel] [PATCH 5/8] s390: Cleanup sclp functions

2012-06-12 Thread Anthony Liguori
On 06/06/2012 07:05 AM, Jens Freimann wrote: From: Christian Borntraegerborntrae...@de.ibm.com The sclp facility on s390 is a hardware that is external to the cpu. Lets cleanup the definitions and move the functionality into a separate file under hw/. Signed-off-by: Christian

Re: [Qemu-devel] [PATCH 5/8] s390: Cleanup sclp functions

2012-06-12 Thread Anthony Liguori
On 06/12/2012 07:32 AM, Alexander Graf wrote: On 06/12/2012 02:24 PM, Christian Borntraeger wrote: Yes we will re-split the sclp patches. besides that, some comments: On 12/06/12 11:58, Alexander Graf wrote: +#include hw/s390-sclp.h No need for hw/. will fix. +void

Re: [Qemu-devel] [PATCH v2 3/3] qmp: do not include monitor.h from qapi-types-core.h

2012-06-12 Thread Andreas Färber
Am 07.06.2012 06:55, schrieb Anthony Liguori: On 06/07/2012 10:02 AM, Paolo Bonzini wrote: The comment is stale, monitor.h is not needed anymore (only qerror.h is, because it contains the schema for errors). Signed-off-by: Paolo Bonzinipbonz...@redhat.com --- qapi/qapi-types-core.h |4

[Qemu-devel] [Bug 899961] Re: qemu/kvm locks up when run 32bit userspace with 64bit kernel

2012-06-12 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/899961 Title: qemu/kvm locks up when run 32bit userspace with 64bit kernel

Re: [Qemu-devel] [PATCH 8/8] s390: Fix the storage increment size calculation

2012-06-12 Thread Jeng-fang Wang
Yes, you can refer to AR10040-03-POK, Service-Call Logical Processor Architecture for S/390 and z/Architecture, Figure 2-6 Minimum storage increment and subincrement size. :) Nick From: Alexander Graf ag...@suse.de To: Jens Freimann jf...@de.ibm.com Cc: Jens Freimann

<    1   2   3   >