Re: [kvm-devel] split ioapic reset API

2007-10-10 Thread Dong, Eddie
Avi Kivity wrote: Dong, Eddie wrote: This one is a preparation for kernel devices reset support. Split ioapic reset API and export PIC reset API Please split into two patches, I need to fold them into the pic patch and the ioapic patch. Splited, please check in. It is too

Re: [kvm-devel] kernel device reset support

2007-10-10 Thread Dong, Eddie
Avi Kivity wrote: Dong, Eddie wrote: Avi Kivity wrote: But, for an ungraceful reset, nothing prevents an AP from issuing a reset? Mmm, Yes, but I think current architecture can't handle this. The thread where AP issues RESET will continue run, which means it becomes BSP now and wake

[kvm-devel] SMP reboot issue

2007-10-10 Thread Dong, Eddie
SMP reboot failed with various phenomena such as user level unhandled vm exit: 0x8021 ... when rebooting SMP RHEL5U or execption 8 (0)... when rebooting XP etc. The reason is that we are not correctly reset VCPU. create_vcpu does some initialization work which should be part of reset job. So

Re: [kvm-devel] Windows XP Pro 64 installation issues with kvm-45 onIntel host

2007-10-10 Thread Dong, Eddie
[EMAIL PROTECTED] wrote: Hello, Trying to install Windows XP Pro 64bits, the first phase goes quite well (except that it uses 100% of host's cpu), but crashes when trying to reboot with the following message: unhandled vm exit: 0x8021 rax 0095b9e5 rbx 0095b9c0 rcx

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Hollis Blanchard
On Tue, 2007-10-09 at 16:40 -0500, Anthony Liguori wrote: This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. It introduces a io dispatch mechanism. This mechanism supports subpage granularity but is

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Avi Kivity
Anthony Liguori wrote: This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. It introduces a io dispatch mechanism. This mechanism supports subpage granularity but is optimized to efficiently cover regions

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Avi Kivity
Jim Paris wrote: If I stop KVM in the monitor with stop, wait a minute, and do cont, a Linux guest gives me a BUG: soft lockup detected on CPU#0. Is that expected behavior? No. What isn't virtualized that allows it to detect that? The host is a core 2 duo. It may be that the timer

[kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Jim Paris
If I stop KVM in the monitor with stop, wait a minute, and do cont, a Linux guest gives me a BUG: soft lockup detected on CPU#0. Is that expected behavior? What isn't virtualized that allows it to detect that? The host is a core 2 duo. I have bigger problems in the guest after migrating to a

[kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. Changes since kvm-45: - fix host oops on bad guest ioapic accesses -

Re: [kvm-devel] RFC/patch: a very trivial patch towards portability

2007-10-10 Thread Carsten Otte
Avi Kivity wrote: Small, reviewable, posted patches are definitely the best way forward. Very well, will go that direction. -case KVM_CHECK_EXTENSION: { -int ext = (long)argp; - -switch (ext) { -case KVM_CAP_IRQCHIP: -case KVM_CAP_HLT: -case

Re: [kvm-devel] RFC/patch: a very trivial patch towards portability

2007-10-10 Thread Carsten Otte
Avi Kivity wrote: What's the motivation for the new header? So we have a list of arch-dependent functions? Compiler-wise it could just as well remain in kvm.h. The motivation for a new header, is that it contains definitions specific to an architecture. These prototypes should go to kvm.h,

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Jun Koi
Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. This is

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Jun Koi wrote: Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Dong, Eddie
[EMAIL PROTECTED] wrote: It may be that the timer correction code detects that zillions of timer interrupts have not been serviced by the guest so it floods the guest with these interrupts. Does -no-kvm-irqchip help? In Xen, we decide to froze the guest time after save/restore. In this way

Re: [kvm-devel] Firewire Support for KVM Guest?

2007-10-10 Thread Izik Eidus
Calin Brabandt wrote: I'm a KVM newb and can't find any information or associated FAQ about KVM guest firewire support Unfourtantly kvm have no firewire support - This SF.net email is sponsored by: Splunk Inc. Still

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Jun Koi
On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Jun Koi wrote: On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: [EMAIL PROTECTED] wrote: It may be that the timer correction code detects that zillions of timer interrupts have not been serviced by the guest so it floods the guest with these interrupts. Does -no-kvm-irqchip help? In Xen, we decide to froze the guest time

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Dong, Eddie
Avi Kivity wrote: Dong, Eddie wrote: [EMAIL PROTECTED] wrote: It may be that the timer correction code detects that zillions of timer interrupts have not been serviced by the guest so it floods the guest with these interrupts. Does -no-kvm-irqchip help? In Xen, we decide to froze the

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: Avi Kivity wrote: Dong, Eddie wrote: [EMAIL PROTECTED] wrote: It may be that the timer correction code detects that zillions of timer interrupts have not been serviced by the guest so it floods the guest with these interrupts. Does -no-kvm-irqchip help?

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. Changes since kvm-45: - fix host oops on bad

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: Or is the timer saved in absolute time? if so you are right, and yes, your solution is needed. Looks like current live migration, also save/restore, doesn't migrate guest time. (do I miss something?) So the new guest will see a totally different TSC and OS feel

Re: [kvm-devel] split ioapic reset API

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: Avi Kivity wrote: Dong, Eddie wrote: This one is a preparation for kernel devices reset support. Split ioapic reset API and export PIC reset API Please split into two patches, I need to fold them into the pic patch and the ioapic patch.

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Farkas Levente wrote: Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. Changes since kvm-45:

Re: [kvm-devel] Firewire Support for KVM Guest?

2007-10-10 Thread Gildas
2007/10/10, Calin Brabandt [EMAIL PROTECTED]: I'm a KVM newb and can't find any information or associated FAQ about KVM guest firewire support. If there's no KVM support, I'm seeking alternative recommendations, if KVM list members are so inclined. My goal is to boot a dedicated and

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Farkas Levente wrote: Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. Changes since kvm-45: -

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping.

Re: [kvm-devel] kernel device reset support

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: Avi Kivity wrote: Dong, Eddie wrote: Avi Kivity wrote: But, for an ungraceful reset, nothing prevents an AP from issuing a reset? Mmm, Yes, but I think current architecture can't handle this. The thread where AP issues RESET will continue

Re: [kvm-devel] SMP reboot issue

2007-10-10 Thread Avi Kivity
Dong, Eddie wrote: SMP reboot failed with various phenomena such as user level unhandled vm exit: 0x8021 ... when rebooting SMP RHEL5U or execption 8 (0)... when rebooting XP etc. The reason is that we are not correctly reset VCPU. create_vcpu does some initialization work which should

[kvm-devel] kvm: disabled by bios

2007-10-10 Thread Elmar Haneke
Hi, is there any option to reenable virtualisation support (AMD-CPU) if it is disabled by bios (and Bios does not show an option to enable virtualisation support)? Elmar - This SF.net email is sponsored by: Splunk Inc.

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Izik Eidus
Oliver Kowalke wrote: Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2 (i386) and NetBSD-3.1 (i386) are working. I've only a problem running OpenBSD-4.1 (i386). The installation succeeded, but if I start OpenBSD I get

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Avi Kivity
Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message from the bootloader: No kernel found. And the next time, I get from the

[kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Oliver Kowalke
Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2 (i386) and NetBSD-3.1 (i386) are working. I've only a problem running OpenBSD-4.1 (i386). The installation succeeded, but if I start OpenBSD I get following error: cpu0: QEMU

Re: [kvm-devel] kvm-45 problems

2007-10-10 Thread Laurent Vivier
Avi Kivity wrote: Zhao, Yunfeng wrote: This fix cannot resolve this issue. Against latest kvm commits, SMP linux with 4 vcpus still cannot boot up. But the issue will not happen , if adding -smp4 -no-acpi. Can you try the attached patch?

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. we did a quick test against this version and it's

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Aurelien Jarno
Avi Kivity a écrit : Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message from the bootloader: No kernel found. And the next

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Farkas Levente wrote: Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. we did a quick

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Avi Kivity
Aurelien Jarno wrote: Avi Kivity a écrit : Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message from the bootloader:

Re: [kvm-devel] kvm-45 problems

2007-10-10 Thread Avi Kivity
Zhao, Yunfeng wrote: This fix cannot resolve this issue. Against latest kvm commits, SMP linux with 4 vcpus still cannot boot up. But the issue will not happen , if adding -smp4 -no-acpi. Can you try the attached patch? -- error compiling committee.c: too many arguments to function

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping.

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Alexey Eremenko
On 10/10/07, Izik Eidus [EMAIL PROTECTED] wrote: Oliver Kowalke wrote: Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2 (i386) and NetBSD-3.1 (i386) are working. I've only a problem running OpenBSD-4.1 (i386). The

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Farkas Levente wrote: we did a quick test against this version and it's turn out the smp guests are still not working. even if we start only one linux guest with 4cpu on 4cpu host the guest kernel hangs at random stages of the kernel loading process (if we run more smp guests then they hang

[kvm-devel] RFC/patch: a very trivial patch towards portability V2

2007-10-10 Thread Carsten Otte
Thanks to Avis review, this is an updated version of the patch that splits kvm_dev_ioctl into architecture dependent and architecture independent parts. I've changed everything Avi noted in his review feedback. It is also rebased to fit on today's git with all that reindentation.

[kvm-devel] RFC/patch: a very trivial patch towards portability V2.1

2007-10-10 Thread Carsten Otte
Christian Borntraeger pointed out that Avi requested to rename kvm_x86.c to x86.c. The patch below is the same as V2, but the files kvm_x86.[ch] have been renamed to x86.[ch], and the #includes have been updated. signed-off-by: Carsten Otte [EMAIL PROTECTED] --- Index: kvm/drivers/kvm/kvm.h

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: we did a quick test against this version and it's turn out the smp guests are still not working. even if we start only one linux guest with 4cpu on 4cpu host the guest kernel hangs at random stages of the kernel loading process (if we run more smp

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Dan Kenigsberg
On Wed, Oct 10, 2007 at 12:56:18PM +0200, Izik Eidus wrote: Oliver Kowalke wrote: Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2 (i386) and NetBSD-3.1 (i386) are working. I've only a problem running OpenBSD-4.1 (i386).

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Aurelien Jarno
Avi Kivity a écrit : Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message from the bootloader: No kernel found. And the next

Re: [kvm-devel] RFC/patch: a very trivial patch towards portability V2.1

2007-10-10 Thread Avi Kivity
Carsten Otte wrote: Christian Borntraeger pointed out that Avi requested to rename kvm_x86.c to x86.c. The patch below is the same as V2, but the files kvm_x86.[ch] have been renamed to x86.[ch], and the #includes have been updated. signed-off-by: Carsten Otte [EMAIL PROTECTED] --- Index:

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Daniel P. Berrange
On Wed, Oct 10, 2007 at 10:28:24AM +0200, Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice features like swapping. Is the

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Avi Kivity
Daniel P. Berrange wrote: On Wed, Oct 10, 2007 at 10:28:24AM +0200, Avi Kivity wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is important if you have a mainframe, but also if you want to share memory between guests and implement nice

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: Avi Kivity wrote: Anthony Liguori wrote: This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. It introduces a io dispatch mechanism. This mechanism supports

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Aurelien Jarno
Avi Kivity a écrit : Aurelien Jarno wrote: Avi Kivity a écrit : Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Avi Kivity
Anthony Liguori wrote: QEMU uses an array for PIO but a table for MMIO. I figured it would be best to just use the same table. Or the same array? Indexed by the address or just sorted and searchable? MMIO addresses are rather sparse so the former seems like the only sane thing. I'm

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Haydn Solomon
Should we be seeing a mmap file when running guests now or do we have to use a special flag when running kvm? On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Daniel P. Berrange wrote: On Wed, Oct 10, 2007 at 10:28:24AM +0200, Avi Kivity wrote: We've now switched to allocating guest

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. It introduces a io dispatch mechanism. This mechanism supports subpage granularity but is optimized to

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Avi Kivity
Aurelien Jarno wrote: Avi Kivity a écrit : Aurelien Jarno wrote: I also confirm that using -no-acpi fixes the problem. However, I have seen strange data corruption, even on Intel. Basically, booting a recently installed FreeBSD leads to the following message from the bootloader:

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Avi Kivity
Anthony Liguori wrote: Avi Kivity wrote: Anthony Liguori wrote: This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. It introduces a io dispatch mechanism. This mechanism supports subpage

[kvm-devel] OpenSolaris 09/2007 (Sun Solaris Express)

2007-10-10 Thread magicboiz
Hi list, you I always report OS that do not start with kvm :)) Sun Solaris Express(9/07), does not detect the hard disk..I attach an screenshot. Kernel:2.6.23 kvm: 45 and 46 CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz attachment:

Re: [kvm-devel] [PATCH] Use a table to dispatch IO requests in kvmctl

2007-10-10 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: QEMU uses an array for PIO but a table for MMIO. I figured it would be best to just use the same table. Or the same array? Indexed by the address or just sorted and searchable? MMIO addresses are rather sparse so the former seems like the only

Re: [kvm-devel] RFC/patch: a very trivial patch towards portability V2.1

2007-10-10 Thread Carsten Otte
Avi Kivity wrote: Argument names in prototypes please. Will do that. case KVM_CHECK_EXTENSION: { int ext = (long)argp; -switch (ext) { -case KVM_CAP_IRQCHIP: -case KVM_CAP_HLT: -case KVM_CAP_MMU_SHADOW_CACHE_CONTROL: -

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Dor Laor
Haydn Solomon wrote: Should we be seeing a mmap file when running guests now or do we have to use a special flag when running kvm? Nope, the default is user space allocation were a regular malloc is used for allocating the guest ram from userspace. The mmap is for future shared memory

[kvm-devel] RFC/patch: a very trivial patch towards portability V3

2007-10-10 Thread Carsten Otte
Thanks to Avi's continued review, we've got even more common code this time: KVM_CHECK_EXTENSION ioctl is now completely handled in kvm_main.c instead of having arch callbacks to check extensions. The architectures are expected to setup a bit mask named KVM_ARCH_EXTENSIONS with information about

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Haydn Solomon
Thanks for clearing that up. On 10/10/07, Dor Laor [EMAIL PROTECTED] wrote: Haydn Solomon wrote: Should we be seeing a mmap file when running guests now or do we have to use a special flag when running kvm? Nope, the default is user space allocation were a regular malloc is used for

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Oliver Kowalke
Am Mittwoch, 10. Oktober 2007 14:17:56 schrieb Alexey Eremenko: On 10/10/07, Izik Eidus [EMAIL PROTECTED] wrote: Oliver Kowalke wrote: Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2 (i386) and NetBSD-3.1 (i386) are

Re: [kvm-devel] OpenBSD 4.1 failes with kvm-45

2007-10-10 Thread Avi Kivity
Oliver Kowalke wrote: Am Mittwoch, 10. Oktober 2007 14:17:56 schrieb Alexey Eremenko: On 10/10/07, Izik Eidus [EMAIL PROTECTED] wrote: Oliver Kowalke wrote: Hi, I've Debian/Lenny (amd64) with kernel 2.6.22-9 (kvm-support build in) with kvm-45 running. WinXP, FreeBSD-6.2

[kvm-devel] Working on an entry-level project

2007-10-10 Thread Cam Macdonell
Hi, I'm interested in working on one of the entry-level projects on the TODO list to get my feet wet with the code. My preference is allowing CPU features to be passed to the guest. So I two things: I want to check if anyone is working on these already and if not can someone please expand

Re: [kvm-devel] Working on an entry-level project

2007-10-10 Thread Izik Eidus
Cam Macdonell wrote: Hi, I'm interested in working on one of the entry-level projects on the TODO list to get my feet wet with the code. My preference is allowing CPU features to be passed to the guest. So I two things: I want to check if anyone is working on these already and if not

Re: [kvm-devel] Working on an entry-level project

2007-10-10 Thread Cam Macdonell
Izik Eidus wrote: Cam Macdonell wrote: Hi, sorry, but patch for that feature was already wrote by someone. but you are more than welcome to try/ask about something else. Ah, I should've searched the list. Is there another project of similar scope that would be of use? Thanks, Cam

[kvm-devel] [ kvm-Bugs-1811073 ] XP guest unstable, clamav crashes it

2007-10-10 Thread SourceForge.net
Bugs item #1811073, was opened at 2007-10-10 18:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1811073group_id=180599 Please note that this message will contain a full copy of

Re: [kvm-devel] soft lockup after stop/cont

2007-10-10 Thread Jim Paris
Avi Kivity wrote: Jim Paris wrote: If I stop KVM in the monitor with stop, wait a minute, and do cont, a Linux guest gives me a BUG: soft lockup detected on CPU#0. Is that expected behavior? No. What isn't virtualized that allows it to detect that? The host is a core 2 duo.

[kvm-devel] [PATCH 3/3] Use a table to dispatch IO requests in kvmctl (v2)

2007-10-10 Thread Anthony Liguori
This patch attempts to clean up kvmctl so that it can be more easily made to work for multiple architectures and to support more emulation. For dispatch, it's using a simple array as suggested by Avi. For x86, we'll have two tables, a pio_table and an mmio_table. For PPC we can just have a

[kvm-devel] [PATCH 1/3] Remove memory size from linker script (v2)

2007-10-10 Thread Anthony Liguori
The memory size is currently hardcoded into the linker script (end_of_memory). This prevents the memory size from being specified dynamically in kvmctl. This patch adds a PIO port that can be used to query the memory size in the tests. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git

[kvm-devel] [PATCH 2/3] Allow memory to be specified in kvmctl (v2)

2007-10-10 Thread Anthony Liguori
This patch adds a --memory option to kvmctl to allow the memory size of the guest to be specified. Since v1, I added more checks for bad input as suggested by Muli. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/user/main.c b/user/main.c index 9a57a24..a08e0a7 100644 ---

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Aurelien Jarno
On Tue, Oct 02, 2007 at 02:38:19PM +0200, Avi Kivity wrote: Aurelien Jarno wrote: Avi Kivity a écrit : Aurelien Jarno wrote: Hi all, That's not something new, but I never seen the problem mentioned here. FreeBSD does not work on KVM, approximately since the lapic merge.

[kvm-devel] [PATCH] Clean up MMU functions to take struct kvm when appropriate

2007-10-10 Thread Anthony Liguori
Some of the MMU functions take a struct kvm_vcpu even though they effect all VCPUs. This patch cleans up some of them to instead take a struct kvm. This makes things a bit more clear. The main thing that was confusing me was whether certain functions need to be called on all VCPUs.

[kvm-devel] [PATCH] Clean up MMU functions to take struct kvm when appropriate (v2)

2007-10-10 Thread Anthony Liguori
Sorry, I didn't guilt refresh before sending. I'll have to modify my patchbomb script to check for that to avoid this in the future. Some of the MMU functions take a struct kvm_vcpu even though they effect all VCPUs. This patch cleans up some of them to instead take a struct kvm. This makes

[kvm-devel] [PATCH] More struct page cleanups

2007-10-10 Thread Anthony Liguori
This time, the biggest change is gpa_to_hpa. The translation of GPA to HPA does not depend on the VCPU state unlike GVA to GPA so there's no need to pass in the kvm_vcpu. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 4ab487c..8859a92

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Anthony Liguori
Jun Koi wrote: On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in

Re: [kvm-devel] [ANNOUNCE] kvm-46 release

2007-10-10 Thread Jun Koi
On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: Jun Koi wrote: Hi, On 10/10/07, Avi Kivity [EMAIL PROTECTED] wrote: We've now switched to allocating guest memory in userspace rather than in the kernel. This is

Re: [kvm-devel] [PATCH] Clean up MMU functions to take struct kvm when appropriate

2007-10-10 Thread Anthony Liguori
Anthony Liguori wrote: Some of the MMU functions take a struct kvm_vcpu even though they effect all VCPUs. This patch cleans up some of them to instead take a struct kvm. This makes things a bit more clear. The main thing that was confusing me was whether certain functions need to be

Re: [kvm-devel] kernel device reset support

2007-10-10 Thread Dong, Eddie
Avi Kivity wrote: Dong, Eddie wrote: Avi Kivity wrote: It's just like the guest kernel executing hlt. Why is there a difference? Current VP wake up logic thru INIT/SIPI doesn't support this when irqchip in kernel. Yes, halt all APs and let BSP do reset ops in user level. Will

[kvm-devel] build error

2007-10-10 Thread Zhao, Yunfeng
I meet following error while compile latest kvm source code. .. make -C qemu make[1]: Entering directory `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071010190122210/kvm-us erspace/qemu' Makefile:3: config-host.mak: No such file or directory make[1]: *** No rule to make