Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Mulyadi Santosa
Hi.. On Mon, Aug 9, 2010 at 03:33, Dennis den...@satanclaus.com wrote: Hi, I've been looking at the qemu source code but couldn't find anything that would suit my needs. Basically I'm looking for a way to use a file on disk as physical memory inside Qemu. Once when I did code adventure in

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Stefan Hajnoczi
On Mon, Aug 9, 2010 at 7:15 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Mon, Aug 9, 2010 at 03:33, Dennis den...@satanclaus.com wrote: Hi, I've been looking at the qemu source code but couldn't find anything that would suit my needs. Basically I'm looking for a way to use a file

[Qemu-devel] [Tracing] Compilation failure

2010-08-09 Thread Prerna Saxena
Hi Stefan, I think this needs to be resolved. CCtrace.o CCsimpletrace.o cc1: warnings being treated as errors /home/prerna/qemu-testing/git/qemu/simpletrace.c: In function ‘write_header’: /home/prerna/qemu-testing/git/qemu/simpletrace.c:46: error: integer constant is too large for

[Qemu-devel] Re: [Tracing] Compilation failure

2010-08-09 Thread Stefan Hajnoczi
On Mon, Aug 09, 2010 at 02:26:05PM +0530, Prerna Saxena wrote: Hi Stefan, I think this needs to be resolved. CCtrace.o CCsimpletrace.o cc1: warnings being treated as errors /home/prerna/qemu-testing/git/qemu/simpletrace.c: In function ‘write_header’:

Re: [Qemu-devel] [PATCH v2] rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix

2010-08-09 Thread Anthony Liguori
On 08/06/2010 03:40 PM, Amit Shah wrote: On (Fri) Aug 06 2010 [12:12:45], Daniel P. Berrange wrote: On Wed, Jun 23, 2010 at 08:14:04PM +0530, Amit Shah wrote: qemu-config.c doesn't contain any target-specific code, and the TARGET_I386 conditional code didn't get compiled as a result.

[Qemu-devel] [PATCH] trace: Make trace record fields 64-bit

2010-08-09 Thread Stefan Hajnoczi
Explicitly use 64-bit fields in trace records so that timestamps and magic numbers work for 32-bit host builds. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- simpletrace.c | 31 +-- simpletrace.h | 11 ++- simpletrace.py |2 +-

[Qemu-devel] [PATCH] trace: Documentation update

2010-08-09 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- docs/tracing.txt | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/tracing.txt b/docs/tracing.txt index abbae6b..fe3c6ac 100644 --- a/docs/tracing.txt +++ b/docs/tracing.txt @@ -18,7

[Qemu-devel] [PATCH] elf: Calculate symbol size if needed

2010-08-09 Thread Stefan Weil
Symbols with a size of 0 are unusable for the disassembler. Example: While running an arm linux kernel, no symbolic names are used in qemu.log when the cpu is executing an assembler function. Assume that the size of such symbols is the difference to the next symbol value. Signed-off-by: Stefan

[Qemu-devel] [PATCH] hw/arm: Improve detection of Linux kernels

2010-08-09 Thread Stefan Weil
ELF images were not detected as linux kernels. Assume that they are linux kernels if the kernel name contains 'vmlinux'. Cc: Paul Brook p...@codesourcery.com Signed-off-by: Stefan Weil w...@mail.berlios.de --- hw/arm_boot.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff

[Qemu-devel] [PATCH] hw/musicpal: Set loader start address

2010-08-09 Thread Stefan Weil
Start address 0x0 did not work with a linux kernel. Cc: Jan Kiszka jan.kis...@web.de Signed-off-by: Stefan Weil w...@mail.berlios.de --- hw/musicpal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/musicpal.c b/hw/musicpal.c index 33180a2..dc6bc21 100644 ---

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Michael Roth
On 08/09/2010 03:17 AM, Stefan Hajnoczi wrote: Use -mem-path /path/to/directory. It's used for hugetlbfs support on Linux but it should work on a normal filesystem too. Stefan It *almost* works, except for some minor obstacles: 1) Normally the pages get mmap()'d with MAP_PRIVATE so they

Re: [Qemu-devel] [PATCH 00/12 v4] Clean up linux-user/elfload.c

2010-08-09 Thread Jan-Simon Möller
Am Dienstag, 27. Juli 2010, 19:25:26 schrieb Richard Henderson: A re-based and re-tested version of a patch series I posted back in April and May. These cleanups prepare elfload.c for loading the VDSO for x86_64. Do you have a repo where i could pull these from ? Best, Jan-Simon

[Qemu-devel] [PATCH 0/2] QMP: update 'query-version'

2010-08-09 Thread Miguel Di Ciurcio Filho
This series changes how QMP exports the version of QEMU to clients. Current behavior: {QMP: {version: {qemu: 0.13.50, package: }, capabilities: []}} New behavior: {QMP: {version: {qemu: {micro: 50, minor: 13, major: 0}, package: }, capabilities: []}} Clients will no longer need to parse the

[Qemu-devel] [PATCH 1/2] QMP: update 'query-version' documentation

2010-08-09 Thread Miguel Di Ciurcio Filho
Update the documentation of 'query-version' to output the string version broken down. Signed-off-by: Miguel Di Ciurcio Filho miguel.fi...@gmail.com --- qemu-monitor.hx | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/qemu-monitor.hx b/qemu-monitor.hx index

[Qemu-devel] [PATCH 2/2] QMP/monitor: update do_info_version() to output broken down version string

2010-08-09 Thread Miguel Di Ciurcio Filho
This code was originally developed by Daniel P. Berrange berra...@redhat.com Signed-off-by: Miguel Di Ciurcio Filho miguel.fi...@gmail.com --- monitor.c | 23 +++ 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/monitor.c b/monitor.c index c313d5a..e82c48f

Re: [Qemu-devel] [Bug 614958] [NEW] copy-paste between client and host

2010-08-09 Thread Sergei Steshenko
--- On Sun, 8/8/10, Steve White stevan_wh...@hotmail.com wrote: From: Steve White stevan_wh...@hotmail.com Subject: [Qemu-devel] [Bug 614958] [NEW] copy-paste between client and host To: qemu-devel@nongnu.org Date: Sunday, August 8, 2010, 3:19 AM I can tell you, the absence of a

[Qemu-devel] Re: patchwork

2010-08-09 Thread Hollis Blanchard
On Mon, Aug 9, 2010 at 6:29 AM, Anthony Liguori anth...@codemonkey.ws wrote: Sorry, I've got it now.  In the future, please resend patches with [RESEND] as opposed to just bumping it. Isn't anybody using http://patchwork.ozlabs.org/project/qemu-devel/list/ ? Tbat was designed specifically to

Re: [Qemu-devel] [PATCH 2/2] QMP/monitor: update do_info_version() to output broken down version string

2010-08-09 Thread malc
On Mon, 9 Aug 2010, Miguel Di Ciurcio Filho wrote: This code was originally developed by Daniel P. Berrange berra...@redhat.com Signed-off-by: Miguel Di Ciurcio Filho miguel.fi...@gmail.com --- monitor.c | 23 +++ 1 files changed, 19 insertions(+), 4 deletions(-)

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Dennis
On Mon, Aug 9, 2010 at 2:03 AM, Dennis den...@satanclaus.com wrote: Hi, I've been looking at the qemu source code but couldn't find anything that would suit my needs. Basically I'm looking for a way to use a file on disk as physical memory inside Qemu. Before I attempt to reinvent the

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Michael Roth
On 08/09/2010 11:46 AM, Michael Roth wrote: 2) exec.c:file_ram_alloc() assumes you're allocating off a hugetlbfs and makes some system calls to get the block/hugepage size. A quick hack might be to comment out the following in exec.c:gethugepagesize(): if (fs.f_type != HUGETLBFS_MAGIC)

[Qemu-devel] [Bug 614958] Re: copy-paste between client and host

2010-08-09 Thread Paolo Bonzini
SPICE is supposed to address this kind of issue. Hopefully it will be merged in 0.14. Anyway, after SPICE support is merged this feature would belong in SPICE, not in QEMU. See http://spice- space.org/page/Features/SharedClipboard for more information. We might keep this open until SPICE is

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Stefan Hajnoczi
On Mon, Aug 9, 2010 at 7:49 PM, Dennis den...@satanclaus.com wrote: I have an application that takes up over 2 GB of memory but is otherwise demanding virtually no other resources at all. Running multiple instances of the application using physical memory isn't an option. Would it be hard to

Re: [Qemu-devel] Virtual memory question

2010-08-09 Thread Dennis
On Mon, Aug 9, 2010 at 9:41 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Aug 9, 2010 at 7:49 PM, Dennis den...@satanclaus.com wrote: I have an application that takes up over 2 GB of memory but is otherwise demanding virtually no other resources at all. Running multiple instances of

[Qemu-devel] Re: Question about starting 2 VMs using Qemu

2010-08-09 Thread Nirmal Guhan
Try removing ifname=tap0 and a different macaddr for second instance. --Nirmal On Fri, Aug 6, 2010 at 7:09 AM, Anjali Kulkarni anj...@juniper.net wrote: Hi, I can start my freebsd based image in Qemu, and I use tap interface for connectivity to the host or external world, but when I try to

[Qemu-devel] Fwd: [Lxde-list] LXAppearance 2 replaces the original LXAppearance in master branch.

2010-08-09 Thread jairo mayorga
-- Forwarded message -- From: PCMan pcman...@gmail.com Date: 2010/8/7 Subject: [Lxde-list] LXAppearance 2 replaces the original LXAppearance in master branch. To: lxde-list lxde-l...@lists.sourceforge.net, The mailing list for translators of LXDE and its components.

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-08-09 Thread Serge Hallyn
** Description changed: I Use Ubuntu 32 bit 10.04 with standard KVM. I have Intel E7600 @ 3.06GHz processor with VMX In this system I Run: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -M pc-0.12 -enable-kvm -m 256 -smp 1

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-08-09 Thread Serge Hallyn
** Also affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Changed in: qemu-kvm (Ubuntu) Status: New = Fix Released ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium -- KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-08-09 Thread Steve Beattie
** Also affects: qemu-kvm (Ubuntu Lucid) Importance: Undecided Status: New ** Changed in: qemu-kvm (Ubuntu Lucid) Status: New = In Progress ** Changed in: qemu-kvm (Ubuntu Lucid) Importance: Undecided = Medium -- KVM segmentation fault, using SCSI+writeback and linux 2.4

[Qemu-devel] about qemu

2010-08-09 Thread chandra shekar
can any one suggest any study materials for start learning qemu and its internals i have already read the documentation in this qemu web page other than that any other materials,thanks