Re: comparisons with VMware and Xen

2008-07-08 Thread Sukanto Ghosh
KSM related queries 3. Are there any means to do content-based page sharing between guests as VMware does ? Yes, KSM. How does KSM offers its services. saw in the archives that there is some /dev/ksm device. I mean what are the major steps involved: Is this feature turned on from the

Failure to boot CDROM with -drive arg

2008-07-08 Thread Daniel P. Berrange
The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm -drive file=/home/berrange/boot.iso,if=ide,media=cdrom,index=2,boot=on -m 500 With the 2nd though, the initial CDROM syslinux loads, but fails

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 09:37 +0100, Daniel P. Berrange a écrit : The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm -drive

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Daniel P. Berrange
On Tue, Jul 08, 2008 at 10:48:18AM +0200, Laurent Vivier wrote: Le mardi 08 juillet 2008 à 09:37 +0100, Daniel P. Berrange a écrit : The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm

KVM Test result, kernel a81a686.., userspace 619ca34..

2008-07-08 Thread Xu, Jiajun
Hi All, This is today's KVM test result against kvm.git a81a686682d6f04c842ebf9e084e30cd875f1048 and kvm-userspace.git 619ca34310a8968b6939fa6aba5b85a16b20315e. There's no new issue today. Three Old Issues: 1. 32bits Rhel5/FC6 guest may fail to

Re: KVM Test result, kernel a81a686.., userspace 619ca34..

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 16:58 +0800, Xu, Jiajun a écrit : Hi All, This is today's KVM test result against kvm.git a81a686682d6f04c842ebf9e084e30cd875f1048 and kvm-userspace.git 619ca34310a8968b6939fa6aba5b85a16b20315e. There's no new issue today. Three Old Issues:

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Soren Hansen
On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm -drive

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Daniel P. Berrange
On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 11:17 +0200, Soren Hansen a écrit : On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso -boot d -m 500 # qemu-kvm

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 10:21 +0100, Daniel P. Berrange a écrit : On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from the user's point of view:

[ kvm-Bugs-1972449 ] netperf causes linux guest with virtnet kernel panic

2008-07-08 Thread SourceForge.net
Bugs item #1972449, was opened at 2008-05-26 04:25 Message generated for change (Comment added) made by markmc You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1972449group_id=180599 Please note that this message will contain a full copy of the comment

Re: [ kvm-Bugs-1972449 ] netperf causes linux guest with virtnet kernel panic

2008-07-08 Thread Mark McLoughlin
On Tue, 2008-07-08 at 11:54 +, SourceForge.net wrote: Bugs item #1972449, was opened at 2008-05-26 04:25 Message generated for change (Comment added) made by markmc You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1972449group_id=180599 ... Status:

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Anthony Liguori
Daniel P. Berrange wrote: On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from the user's point of view: # qemu-kvm -cdrom /home/berrange/boot.iso

Re: cant create windows vista images or disks larger than 4gb

2008-07-08 Thread Eduardo Martini
I could, but actually wasn't able to find a good how to (newby here). I just found instructions to build up a ubuntu disk with build-ubuntu- something command. On Sat, Jul 5, 2008 at 8:11 AM, Avi Kivity [EMAIL PROTECTED] wrote: Eduardo Martini wrote: Hello ! I'm not able to either create a

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Laurent Vivier
Le mardi 08 juillet 2008 à 08:01 -0500, Anthony Liguori a écrit : Daniel P. Berrange wrote: On Tue, Jul 08, 2008 at 11:17:24AM +0200, Soren Hansen wrote: On Tue, Jul 08, 2008 at 09:37:30AM +0100, Daniel P. Berrange wrote: The following two command lines should be identical from

Re: Failure to boot CDROM with -drive arg

2008-07-08 Thread Anthony Liguori
Laurent Vivier wrote: So, boot=on means in fact bootable=true I guess. I don't know that the later is more clear. I think the source of the confusion is the entire concept of first bootable harddisk which is what -boot c really means. FWIW, the reason media=cdrom,boot=on doesn't work,

[PATCH] mask out clflush

2008-07-08 Thread Glauber Costa
clflush is a non-privileged instruction that flushes the cacheline given by its parameter, in terms of linear address. As it is non-privileged, it is quite tricky, because a guest doing clflush will actually be trying to flush a host kernel address. Signed-off-by: Glauber Costa [EMAIL PROTECTED]

Re: [PATCH] mask out clflush

2008-07-08 Thread Anthony Liguori
Glauber Costa wrote: clflush is a non-privileged instruction that flushes the cacheline given by its parameter, in terms of linear address. As it is non-privileged, it is quite tricky, because a guest doing clflush will actually be trying to flush a host kernel address. Is this the case

Re: What happens if I use get_user_pages()

2008-07-08 Thread Muli Ben-Yehuda
On Tue, Jul 08, 2008 at 02:46:12AM -0400, Arn wrote: Hi, If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said,

Re: [PATCH] mask out clflush

2008-07-08 Thread Glauber Costa
On Tue, Jul 8, 2008 at 4:34 PM, Anthony Liguori [EMAIL PROTECTED] wrote: Glauber Costa wrote: clflush is a non-privileged instruction that flushes the cacheline given by its parameter, in terms of linear address. As it is non-privileged, it is quite tricky, because a guest doing clflush will

Re: What happens if I use get_user_pages()

2008-07-08 Thread Arn
If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said, the answer is no. Is this the desirable outcome, or are you

Re: patch: qemu + hugetlbfs..

2008-07-08 Thread Anthony Liguori
john cooper wrote: Attached is a patch to qemu which allows preallocation of huge pages at startup time. Also in cases where sufficient huge pages are not available, the user may request to selectively fall back to 4K pages for those portions of phys_mem which couldn't be backed by huge pages.

Re: Stable kvm version ?

2008-07-08 Thread David S. Ahern
There's a bug opened for the network lockups -- see http://sourceforge.net/tracker/index.php?func=detailaid=1802082group_id=180599atid=893831 Based on my testing I've found that the e1000 has the lowest overhead (e.g., lowest irq and softirq times in the guest). I have not seen any lockups with

Re: patch: qemu + hugetlbfs..

2008-07-08 Thread john cooper
Anthony Liguori wrote: +/* assertion checking + */ +#define ASSERT(c) if (!(c)) _assert(#c, __FILE__, __LINE__) + +static inline void _assert(char *text, char *file, int line) { +fprintf(stderr, ASSERTION FAILED: [%s] %s:%d\n, text, file, line); +kill(getpid(), 12); /* dump

KVM status and dynamic mem/cpu question.

2008-07-08 Thread jd
hi 1. It there away to know various states of a VM via console (or any other means?) ? -- Running -- Paused -- Booting/Shutting down -- crashed etc ? I cant find any console command that can tell that. If this is not available, is there a plan to add it ?

Re: What happens if I use get_user_pages()

2008-07-08 Thread Izik Eidus
ציטוט Arn: If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said, the answer is no. Is this the desirable outcome,