[PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness

2008-09-04 Thread Mohammed Gamal
Fix coding style in test_eflags_insn() in real mode test harness. Signed-off-by: Mohammed Gamal <[EMAIL PROTECTED]> --- user/test/x86/realmode.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user/test/x86/realmode.c b/user/test/x86/realmode.c index d760a26..462

Re: [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode

2008-09-04 Thread Mohammed Gamal
Ignore this one, it was jammed by the mail client. Apologies -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH][RESEND] kvm: testsuite: Fix coding style in real mode

2008-09-04 Thread Mohammed Gamal
test harness Fix coding style in test_eflags_insn() in real mode test harness. Signed-off-by: Mohammed Gamal <[EMAIL PROTECTED]> --- user/test/x86/realmode.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user/test/x86/realmode.c b/user/test/x86/realmode.c inde

[PATCH] Add USB sys file-system support (v2)

2008-09-04 Thread TJ
Revision 2. I realised I'd made a major programming boo-boo despite knowing better - requesting an allocation of memory in the host USB file-system scan function, forgetting that the function isn't just called once but repeatedly. That would have led to orphaned memory allocations each time a USB

[PATCH] Add USB sys file-system support

2008-09-04 Thread TJ
This patch adds support for host USB devices discovered via: /sys/bus/usb/devices/* and opened from /dev/bus/usb/*/* /dev/bus/usb/devices and opened from /dev/bus/usb/*/* in addition to the existing discovery via: /proc/bus/usb/devices and opened from /proc/bus/usb/*/* Signed-off-by: TJ <[EMAIL

Re: AW: MADV_DONTFORK undeclared

2008-09-04 Thread Carsten Bock
> Dietmar Maurer wrote: > Compiling latest version 74 give me (on debian 4.0): > > /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c: In function > 'kvm_setup_guest_memory': > /home/dietmar/pve/pve-kvm-2.6.24/kvm-74/qemu/qemu-kvm.c:821: error: > 'MADV_DONTFORK' undeclared (first use in this

RE: [patch] qemu fix missing prototypes on ia64 and minor cleanups

2008-09-04 Thread Zhang, Xiantao
Jes Sorensen wrote: > Hi, > > This one kills a few missing prototype warnings during compile time > on ia64. These are always risky given that the Linux ia64 text and > data segments are outside the 32bit window > > cheers, > Jes Thanks Jes! Maybe we should do more investigations on such co

Re: [RFC 1/2] Simulate Intel cpufreq MSRs in kvm guests to influencenice priority

2008-09-04 Thread Darrick J. Wong
On Mon, Jul 28, 2008 at 08:56:34AM +0800, Tian, Kevin wrote: > >I guess the solution for such issues is not to have kvm (or qemu) play > >with nice levels, but instead send notifications on virtual frequency > >changes on the qemu monitor. The management application can then choose > >whether to ig

[ kvm-Bugs-2091534 ] Guests see 2 CD drives if one is specified with -drive

2008-09-04 Thread SourceForge.net
Bugs item #2091534, was opened at 2008-09-03 20:27 Message generated for change (Comment added) made by rtg20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2091534&group_id=180599 Please note that this message will contain a full copy of the comment thr

Re: 63 sectors

2008-09-04 Thread Charles Duffy
Ian Kirk wrote: I thought that updating qemu-img to have quasi-fdisk functionality was a good idea myself. Is there a respected libfdisk.so thing that could be used to abstract most of the work ? Exporting textual output and piping that to sfdisk is one approach. -- To unsubscribe from this li

[ kvm-Bugs-2091534 ] Guests see 2 CD drives if one is specified with -drive

2008-09-04 Thread SourceForge.net
Bugs item #2091534, was opened at 2008-09-03 19:27 Message generated for change (Comment added) made by lvivier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2091534&group_id=180599 Please note that this message will contain a full copy of the comment t

[ kvm-Bugs-2091534 ] Guests see 2 CD drives if one is specified with -drive

2008-09-04 Thread SourceForge.net
Bugs item #2091534, was opened at 2008-09-03 20:27 Message generated for change (Comment added) made by rtg20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2091534&group_id=180599 Please note that this message will contain a full copy of the comment thr

[PATCH 1/1][RESEND] v2: Fix text console size/resize when using curses

2008-09-04 Thread Ryan Harper
v2: drop initial size adjustment, not needed. Resize events fail to ensure that both the text console and curses display areas are the same size; this causes broken output like: QEMU 0.9.1 monitor - type 'help' for more information (qemu)

[PATCH 0/1][RESEND] v2: Fix monitor console in curses mode

2008-09-04 Thread Ryan Harper
No futher feedback or concerns received, please apply. v2: dropped initial display size changes in curses.c -- not needed. The current curses code doesn't adjust the curses and text console display to match the size of the terminal and fails to adjust properly after a resize. The attach patches e

Re: [PATCH] Clear temporary interrupt blocking on halt in real mode

2008-09-04 Thread Laurent Vivier
Le dimanche 10 août 2008 à 11:36 +0300, Avi Kivity a écrit : > Laurent Vivier wrote: > > When "halt" is emulated, skip_emulated_instruction() is called and > > interruptibility state is cleared. > > But when halt is emulated in real mode, skip_emulated_instruction() is not > > called and the inte

[patch] qemu fix missing prototypes on ia64 and minor cleanups

2008-09-04 Thread Jes Sorensen
Hi, This one kills a few missing prototype warnings during compile time on ia64. These are always risky given that the Linux ia64 text and data segments are outside the 32bit window cheers, Jes Add missing prototypes to the ia64 header files. Remove unused variables T0/T1/T2 declared in exe

clock in kvm guests

2008-09-04 Thread Marshal Newrock
This started because I have a host running Ubuntu 8.04 x86_64 with kvm-69, and I noticed the guests on it tended to lose about a minute a day as compared to the host. The guests are also running Ubuntu 8.04. I had tried booting with clocksource=acpi_pm, but that seemed to make it worse. Unfortuna

[ kvm-Bugs-2091534 ] Guests see 2 CD drives if one is specified with -drive

2008-09-04 Thread SourceForge.net
Bugs item #2091534, was opened at 2008-09-03 19:27 Message generated for change (Comment added) made by lvivier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2091534&group_id=180599 Please note that this message will contain a full copy of the comment t

Re: Problems with kvm-73 on PAE host

2008-09-04 Thread Bernhard Kohl
Bernhard Kohl nsn.com> writes: > > Hi, > > I'm trying to run kvm-73 on a Linux PAE host. I'm using Fedora 8 on the host, > installed kernel-PAE and kernel-PAE-devel (2.6.25.14-69.fc8.i686), built and > installed KVM: > > make distclean > ./configure > make > make install > > Immediately af

[PATCH] unalias rework

2008-09-04 Thread izik eidus
>From 476d23f08738de2396134f5ef41923ad54994972 Mon Sep 17 00:00:00 2001 From: izike <[EMAIL PROTECTED](none)> Date: Thu, 4 Sep 2008 17:10:04 +0300 Subject: [PATCH] KVM: unalias rework beside make the code less complecated it actually fix bug related to aliased pages inside the shadow code that t

Re: 63 sectors

2008-09-04 Thread H. Peter Anvin
H. Peter Anvin wrote: libparted, although I wouldn't call it "respectable". That was meant as a sarcastic remark. Sorry for the confusion. -hpa -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at htt

Re: Test with VT-d patches

2008-09-04 Thread gg
Hello, with the hint/patches from "Han, Weidong" I cound correct my system-build and now the NIC works fine under Windows. Only the "Unbalanced enables for IRQ 21" (my pci-passed throug Gigabit NIC)commes nearly endless. (not importend for me) I am happy now. Thanks all, Gregor >On Thursday

Re: 63 sectors

2008-09-04 Thread H. Peter Anvin
Ian Kirk wrote: Avi Kivity wrote: - add a partitioning tool (or option to qemu-img) to format the disk, placing the first partition on the fourth cylinder, aligning it. tell the users not to wipe the disks out but instead install to one of the existing parititions I thought that updating qem

Re: 63 sectors

2008-09-04 Thread Laurent Vivier
Le jeudi 04 septembre 2008 à 09:58 +0100, Ian Kirk a écrit : > Avi Kivity wrote: > > > - add a partitioning tool (or option to qemu-img) to format the disk, > > placing > > the first partition on the fourth cylinder, aligning it. tell the users not > > to wipe the disks out but instead install t

Re: Test with VT-d patches

2008-09-04 Thread Yang, Sheng
On Thursday 04 September 2008 17:12:28 Han, Weidong wrote: > [EMAIL PROTECTED] wrote: > > Hello, > > > > I try to explain the current state on my pc. > > > > 1) The patch KVM 1/2 was applied with the following change. > >The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" > >alre

RE: Test with VT-d patches

2008-09-04 Thread Han, Weidong
[EMAIL PROTECTED] wrote: > Hello, > > I try to explain the current state on my pc. > > 1) The patch KVM 1/2 was applied with the following change. >The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" >already exists. And I get both files rejected. >So I take the headers fro

Re: 63 sectors

2008-09-04 Thread Ian Kirk
Avi Kivity wrote: > - add a partitioning tool (or option to qemu-img) to format the disk, placing > the first partition on the fourth cylinder, aligning it. tell the users not > to wipe the disks out but instead install to one of the existing parititions I thought that updating qemu-img to have

Re: Test with VT-d patches

2008-09-04 Thread gg
Hello, I try to explain the current state on my pc. 1) The patch KVM 1/2 was applied with the following change. The files "drivers/pci/iova.h" and "drivers/pci/intel-iommu.h" already exists. And I get both files rejected. So I take the headers from the KVM 1/2 Patchfile and use these a

Re: 63 sectors

2008-09-04 Thread Gerd Hoffmann
Gerd Hoffmann wrote: > So qemu-img could create a partition table, containing one partition, > hinting 32 sectors/cylinder. Linux should keep that geometry then, even > when distro installers are deleting the partition and creating their own > scheme. Scratch that, tested it, didn't work :-( che

RE: 63 sectors

2008-09-04 Thread Itamar Heim
This can be left to the userspace to pass as an option, to optimize for relevant guests, since the one running the userspace probably knows which OS he will run on it, so he can pass "-sector64" as an optimization. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On