Re: [kvm-devel] [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install

2008-03-11 Thread Andrew Morton
On Mon, 10 Mar 2008 14:11:04 +0100 Christian Borntraeger [EMAIL PROTECTED] wrote: [PATCH v2] kvm: provide kvm.h for all architecture: fixes headers_install Currently include/linux/kvm.h is not considered by make headers_install, because Kbuild cannot handle unifdef-$(CONFIG_FOO) += foo.h.

Re: [kvm-devel] [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install

2008-03-11 Thread David Woodhouse
On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) I don't see that in the diffstat of the patch you dropped (looking at the immediately subsequent mail in my inbox). Which might explain...

Re: [kvm-devel] [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install

2008-03-11 Thread Christian Borntraeger
Am Dienstag, 11. März 2008 schrieb David Woodhouse: On Mon, 2008-03-10 at 23:20 -0700, Andrew Morton wrote: Changes since v1: o use asm-generic/Kbuild.asm (Arnd Bergmann) I don't see that in the diffstat of the patch you dropped (looking at the immediately subsequent mail in my

[kvm-devel] D e ntists Contact List in the US

2008-03-11 Thread Everett Luna
New for 2008 Dentis.try Contact List in the United States -- 164,204 D entists with City, State, Zip -- 158,918 Mailing Addresses -- 163,665 Tel #'s -- 77,397 Facsimile Numbers -- 45,265 Email Addys Only until March 14 the special introductory price is $299 (reduced from $396) To inquire

Re: [kvm-devel] [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install

2008-03-11 Thread Andreas Schwab
Christian Borntraeger [EMAIL PROTECTED] writes: include/asm-alpha/kvm.h|6 ++ Can't you put it in asm-generic? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B

[kvm-devel] Запасы

2008-03-11 Thread Отдел логистики
Приглашаем Вас принять участие в курсе : - |Управление запасами в| |современной компании | | | | 24 - 26 марта 2008 г. | |

Re: [kvm-devel] [PATCH] kvm: provide kvm.h for all architecture: fixes headers_install

2008-03-11 Thread Christian Borntraeger
Am Dienstag, 11. März 2008 schrieb Andreas Schwab: Christian Borntraeger [EMAIL PROTECTED] writes: include/asm-alpha/kvm.h|6 ++ Can't you put it in asm-generic? I dont think so. The generic part is in include/linux/kvm.h. asm/kvm.h is populated by each architecture which

Re: [kvm-devel] [PATCH] virtio-balloon: do not attempt to release more than available pages

2008-03-11 Thread Rusty Russell
On Tuesday 11 March 2008 11:52:46 Anthony Liguori wrote: Rusty Russell wrote: 2) Handle the case where we get nonsense from the host, which causes us to wrap around. Here's my neither compiled nor tested version which should fix this problem without breaking the ABI. Hmm, we could just

Re: [kvm-devel] how increase performance of network io in kvm

2008-03-11 Thread Javier Guerra
On Mon, Mar 10, 2008 at 5:37 PM, Dor Laor [EMAIL PROTECTED] wrote: We published virtio network drivers for Linux but not yet for Windows. Our virtio drivers for windows are almost done (for rev#1), we'll surely release the binaries for them. great!! no need to fool around with xen/vmware

[kvm-devel] KVM developer forum 2008

2008-03-11 Thread Rami Tamir
We'd like to invite all of you to attend the second annual KVM Forum. Following the success of the last year's event, we'd like to keep the format similar. The purpose of the forum is to bring together developers, testers and other technical individuals from within the community to discuss the

Re: [kvm-devel] KVM Test result, kernel a16664b.., userspace 3017d05.. one new issue

2008-03-11 Thread Chris Wedgwood
On Mon, Mar 10, 2008 at 05:27:32PM +0800, Yunfeng Zhao wrote: One new issue: 1. booting smp windows guests has 30% chance of hang https://sourceforge.net/tracker/?func=detailatid=893831aid=1910923group_id=180599 PlatformWoodcrest CPU 4 Memory size

Re: [kvm-devel] [PATCH 3/6] kvm: qemu: Add option for enable/disable in kernel PIT

2008-03-11 Thread Hollis Blanchard
On Fri, 2008-03-07 at 20:52 +0800, Yang, Sheng wrote: From 98543bb3c3821e5bc9003bb91d7d0c755394ffac Mon Sep 17 00:00:00 2001 From: Sheng Yang [EMAIL PROTECTED] Date: Fri, 7 Mar 2008 14:24:32 +0800 Subject: [PATCH] kvm: qemu: Add option for enable/disable in kernel PIT This patch breaks all

[kvm-devel] PCI IO regions must be power of two

2008-03-11 Thread Marcelo Tosatti
Anthony, Both virtio-net and virtio-block currently register PCI IO space regions that are not power of two in size. The decoding process to discover the size of a PCI resource expects it to be a power of two. The PCI controller masks the size out of what is written into config_space + 0x10 +

Re: [kvm-devel] [patch 14/23] QEMU/KVM: device hot-add

2008-03-11 Thread Marcelo Tosatti
On Wed, Mar 05, 2008 at 07:50:14AM +0200, Avi Kivity wrote: Marcelo Tosatti wrote: Add monitor command to hot-add PCI devices (nic and drive). A drive is not a pci device. One would hot-plug a scsi controller, and then hot-plug a device to that controller. Changed the syntax from

[kvm-devel] [patch 00/24] QEMU ACPI PCI hotplug support

2008-03-11 Thread Marcelo Tosatti
The following patchset allows PCI hot add/remove through ACPI (handled by the acpiphp driver on Linux guests). Comments are welcome. -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

[kvm-devel] [patch 01/24] QEMU/KVM: add devices to represent PCI slots with _EJ0 method

2008-03-11 Thread Marcelo Tosatti
Presence of _EJ0 method indicates that slots are hot-pluggable. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl === --- kvm-userspace.hotplug2.orig/bios/acpi-dsdt.dsl +++

[kvm-devel] [patch 02/24] QEMU/KVM: add OperationRegion and GPE handler for add/removal notification

2008-03-11 Thread Marcelo Tosatti
Use GPE _L01 to notify OSPM. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl === --- kvm-userspace.hotplug2.orig/bios/acpi-dsdt.dsl +++ kvm-userspace.hotplug2/bios/acpi-dsdt.dsl @@

[kvm-devel] [patch 03/24] QEMU/KVM: add pci_find_bus

2008-03-11 Thread Marcelo Tosatti
Return PCIBus pointer from bus number integer. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/pci.c === --- kvm-userspace.hotplug2.orig/qemu/hw/pci.c +++ kvm-userspace.hotplug2/qemu/hw/pci.c

[kvm-devel] [patch 05/24] QEMU/KVM: pci hotplug GPE support

2008-03-11 Thread Marcelo Tosatti
Enable the corresponding bit on the PCIST region and trigger the SCI. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/acpi.c === --- kvm-userspace.hotplug2.orig/qemu/hw/acpi.c +++

[kvm-devel] [patch 06/24] QEMU/KVM: dynamic drive/drive_opt index allocation

2008-03-11 Thread Marcelo Tosatti
Dynamically allocate drive options and drive table index, so to reused indexes when devices are removed. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/sysemu.h === ---

[kvm-devel] [patch 04/24] QEMU/KVM: return PCIDevice on net device init and record devfn

2008-03-11 Thread Marcelo Tosatti
Change the PCI network drivers init functions to return the PCIDev, to inform which slot has been hot-plugged. Also record devfn on the NICInfo structure to locate for release on hot-removal. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/e1000.c

[kvm-devel] [patch 07/24] QEMU/KVM: dynamic nic info index allocation

2008-03-11 Thread Marcelo Tosatti
The same, but for nics. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/net.h === --- kvm-userspace.hotplug2.orig/qemu/net.h +++ kvm-userspace.hotplug2/qemu/net.h @@ -46,6 +46,7 @@ struct NICInfo

[kvm-devel] [patch 09/24] QEMU/KVM: record devfn on block driver instance

2008-03-11 Thread Marcelo Tosatti
Record devfn on the BlockDriverState structure to locate for release on hot-removal. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/block_int.h === ---

[kvm-devel] [patch 12/24] QEMU/KVM: add net_client_uninit

2008-03-11 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/net.h === --- kvm-userspace.hotplug2.orig/qemu/net.h +++ kvm-userspace.hotplug2/qemu/net.h @@ -38,6 +38,7 @@ void do_info_network(void); int

[kvm-devel] [patch 11/24] QEMU/KVM: net/drive add/remove tweaks

2008-03-11 Thread Marcelo Tosatti
Export net/drive add/remove functions for device hotplug usage. Return the table index on add. Return failure instead of exiting if limit has been reached on drive_add. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/vl.c

[kvm-devel] [patch 13/24] QEMU/KVM: export get_param_value/check_params

2008-03-11 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/sysemu.h === --- kvm-userspace.hotplug2.orig/qemu/sysemu.h +++ kvm-userspace.hotplug2/qemu/sysemu.h @@ -57,6 +57,10 @@ int

[kvm-devel] [patch 10/24] QEMU/KVM: move drives_opt for external use

2008-03-11 Thread Marcelo Tosatti
Device hotplug will use that structure from a separate file. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/sysemu.h === --- kvm-userspace.hotplug2.orig/qemu/sysemu.h +++

[kvm-devel] [patch 14/24] QEMU/KVM: add pci_find_device

2008-03-11 Thread Marcelo Tosatti
Return PCIDevice from bus number and slot. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug/qemu/hw/pci.c === --- kvm-userspace.hotplug.orig/qemu/hw/pci.c +++ kvm-userspace.hotplug/qemu/hw/pci.c @@

[kvm-devel] [patch 15/24] QEMU/KVM: virtio_blk_init return PCIDevice pointer

2008-03-11 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/virtio-blk.c === --- kvm-userspace.hotplug2.orig/qemu/hw/virtio-blk.c +++ kvm-userspace.hotplug2/qemu/hw/virtio-blk.c @@ -161,5 +161,5 @@ void

[kvm-devel] [patch 17/24] QEMU/KVM: add cpu_unregister_io_memory and make io mem table index dynamic

2008-03-11 Thread Marcelo Tosatti
So drivers can clear their mem io table entries on exit back to unassigned state. Also make the io mem index allocation dynamic. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/cpu-all.h ===

[kvm-devel] [patch 16/24] QEMU/KVM: device and disk hot-add

2008-03-11 Thread Marcelo Tosatti
Add monitor command to hot-add PCI devices (nic and storage). Syntax is: pci_add pcibus nic|storage params It returns the bus slot and function for the newly added device on success. It is possible to attach a disk to a device after PCI initialization via the drive_add command. If so, a manual

[kvm-devel] [patch 18/24] QEMU/KVM: notify _EJ0 through _SEJ OperationRegion

2008-03-11 Thread Marcelo Tosatti
The _EJ0 method is executed by the OS once it has successfully finished device removal. Inform that event through IO port space so QEMU can free the associated data. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl

[kvm-devel] [patch 19/24] QEMU/KVM: handle SEJ notifications

2008-03-11 Thread Marcelo Tosatti
Handle the _EJ0 notifications. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/acpi.c === --- kvm-userspace.hotplug2.orig/qemu/hw/acpi.c +++ kvm-userspace.hotplug2/qemu/hw/acpi.c @@ -26,6 +26,7

[kvm-devel] [patch 20/24] QEMU/KVM: add qemu_free_irqs

2008-03-11 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/irq.c === --- kvm-userspace.hotplug2.orig/qemu/hw/irq.c +++ kvm-userspace.hotplug2/qemu/hw/irq.c @@ -56,6 +56,12 @@ qemu_irq

[kvm-devel] [patch 21/24] QEMU/KVM: add pci_unregister_device

2008-03-11 Thread Marcelo Tosatti
Unregister the pci device, unassign its IO and memory regions, and free associated data. Add a callback so drivers can free device state. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/pci.c

[kvm-devel] [patch 22/24] QEMU/KVM: LSI SCSI and e1000 unregister callbacks

2008-03-11 Thread Marcelo Tosatti
Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/hw/lsi53c895a.c === --- kvm-userspace.hotplug2.orig/qemu/hw/lsi53c895a.c +++ kvm-userspace.hotplug2/qemu/hw/lsi53c895a.c @@ -1849,6 +1849,18 @@ void

[kvm-devel] [patch 23/24] QEMU/KVM: zero ioport_opaque on isa_unassign_ioport

2008-03-11 Thread Marcelo Tosatti
If the io port is unassigned, the previous private pointer is meaningless. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/vl.c === --- kvm-userspace.hotplug2.orig/qemu/vl.c +++

[kvm-devel] [patch 24/24] QEMU/KVM: device hot-remove

2008-03-11 Thread Marcelo Tosatti
Add monitor command to hot-remove devices. Remove device data on _EJ0 notification. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/monitor.c === --- kvm-userspace.hotplug2.orig/qemu/monitor.c

[kvm-devel] [PATCH] Move kvm_get_pit to libkvm.c common code

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205266548 18000 # Branch merge # Node ID b136c0450c0f7c6ff2262437b1beb9896b1585e3 # Parent c14fbbaee36241aa0fab0d6391e47cf9f4ac8012 Move kvm_get_pit to libkvm.c common code This fixes compilation issues for PowerPC and other non

[kvm-devel] [patch 08/24] QEMU/KVM: drive removal support

2008-03-11 Thread Marcelo Tosatti
To be used by hot-remove. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Index: kvm-userspace.hotplug2/qemu/vl.c === --- kvm-userspace.hotplug2.orig/qemu/vl.c +++ kvm-userspace.hotplug2/qemu/vl.c @@ -5010,6 +5010,12 @@ static int

Re: [kvm-devel] how increase performance of network io in kvm

2008-03-11 Thread Dhirendra Pal Singh
On Mon, Mar 10, 2008 at 3:37 PM, Dor Laor [EMAIL PROTECTED] wrote: On Mon, 2008-03-10 at 12:13 -0700, Jorge Lucángeli Obes wrote: On Mon, Mar 10, 2008 at 11:58 AM, Dhirendra Pal Singh [EMAIL PROTECTED] wrote: Hi Guys, I am trying to evaluate, kvm at my work for virtual support in

[kvm-devel] Boot script

2008-03-11 Thread Matthias Pfafferodt
Hello, my server runs XEN with 5 domains at the moment. I will get new hardware this week and I think about trying to do the virtualisation using KVM. Xen has small scripts which * set up the bridged network at boot * start all domains at boot time (or restore saved domains) * save the domains

Re: [kvm-devel] PCI IO regions must be power of two

2008-03-11 Thread Anthony Liguori
Marcelo Tosatti wrote: Anthony, Both virtio-net and virtio-block currently register PCI IO space regions that are not power of two in size. The decoding process to discover the size of a PCI resource expects it to be a power of two. The PCI controller masks the size out of what is written

Re: [kvm-devel] Boot script

2008-03-11 Thread Javier Guerra
On Tue, Mar 11, 2008 at 4:38 PM, Matthias Pfafferodt [EMAIL PROTECTED] wrote: * set up the bridged network at boot trivially easy. in fact, it's easier to write a script than to do it by hand. * start all domains at boot time (or restore saved domains) from trivial to moderate, depending

Re: [kvm-devel] Boot script

2008-03-11 Thread Anthony Liguori
Matthias Pfafferodt wrote: Hello, my server runs XEN with 5 domains at the moment. I will get new hardware this week and I think about trying to do the virtualisation using KVM. Xen has small scripts which * set up the bridged network at boot I just manually configure a bridge

Re: [kvm-devel] loop in copy_user_generic_string

2008-03-11 Thread Zdenek Kabelac
2008/3/9, Zdenek Kabelac [EMAIL PROTECTED]: 2008/3/7, Zdenek Kabelac [EMAIL PROTECTED]: 2008/3/5, Zdenek Kabelac [EMAIL PROTECTED]: 2008/3/5, Avi Kivity [EMAIL PROTECTED]: Andi Kleen wrote: Avi Kivity [EMAIL PROTECTED] writes: Most likely movs

Re: [kvm-devel] how increase performance of network io in kvm

2008-03-11 Thread Dhirendra Pal Singh
On Tue, Mar 11, 2008 at 2:03 PM, Jorge Lucángeli Obes [EMAIL PROTECTED] wrote: Thanks a lot for your help.. man So, the performance numbers with public bridge, actually increases the performance by many folds. Now I can copy the same 1 gb file in 1.30mins.. which is awesome. Cool!

Re: [kvm-devel] KVM Test result, kernel a16664b.., userspace3017d05.. one new issue

2008-03-11 Thread Yunfeng Zhao
Chris Wedgwood wrote: On Mon, Mar 10, 2008 at 05:27:32PM +0800, Yunfeng Zhao wrote: One new issue: 1. booting smp windows guests has 30% chance of hang https://sourceforge.net/tracker/?func=detailatid=893831aid=1910923group_id=180599 PlatformWoodcrest CPU

[kvm-devel] no mouse

2008-03-11 Thread aGaTHoS
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ kvm version: 62 kernel: 2.6.23-hardened-r7 (with gentoo standard and hardened patches, it is anyway compiled without ssp and pie) arch: x86_64 guest OS: various, windows XP and various linux livecds command line: 1 (windows) # kvm -hda

[kvm-devel] [PATCH 5 of 7] Add dynamic device tree manipulation change uboot loader for PPC bamboo board model

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 50fddb23a4c19ec6f359a4dd39e98712eb6bcaeb # Parent 9c15709640cd55bf6f782d6856423363312493bb Add dynamic device tree manipulation change uboot loader for PPC bamboo board model This patch

[kvm-devel] [PATCH 4 of 7] Add PPC 440EP bamboo board device tree source binary into qemu

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 9c15709640cd55bf6f782d6856423363312493bb # Parent 48651677b7d05254d6acf03551bfea05cef8aa47 Add PPC 440EP bamboo board device tree source binary into qemu This patch places the bamboo

[kvm-devel] [PATCH 0 of 7] PowerPC kvm-userspace patches

2008-03-11 Thread Jerone Young
This set of patches enables the following: -Device tree Support - Add libfdt to kvm-userspace - Add bamboo device tree to qemu source - Detection of host Device Tree attributes - Device tree loading - Ability

[kvm-devel] [PATCH 6 of 7] Modify PPC bamboo ppc440 board models

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 3a891d8fada96166089b5796f3241087d4aae50f # Parent 50fddb23a4c19ec6f359a4dd39e98712eb6bcaeb Modify PPC bamboo ppc440 board models This patch renames pp440_init to ppc440ep_init, as ppc440

[kvm-devel] [PATCH 2 of 7] Add libfdt support to qemu

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 36d2646a3c3d42021425febf3d14f0500ebbaace # Parent cb3ca3805e7735fffcf42032b917cc761b145fb3 Add libfdt support to qemu This patch adds needed configuration options to compile in libfdt

[kvm-devel] [PATCH 3 of 7] Create new load_uboot() gunzip support to uboot loader in Qemu

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 48651677b7d05254d6acf03551bfea05cef8aa47 # Parent 36d2646a3c3d42021425febf3d14f0500ebbaace Create new load_uboot() gunzip support to uboot loader in Qemu This patch adds the ability for

[kvm-devel] [PATCH 7 of 7] Add ability to specify ram on command line for bamboo board model

2008-03-11 Thread Jerone Young
# HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1205296680 18000 # Branch merge # Node ID 8b1dd3609551efefbd6633ac6fe4caa3a6cbe5e9 # Parent 3a891d8fada96166089b5796f3241087d4aae50f Add ability to specify ram on command line for bamboo board model This patch adds the ability to

[kvm-devel] Sound in Vista

2008-03-11 Thread Stuart Jansen
Before I give up completely, I'd like to ask: Does anyone know any secrets for getting sound to work in Vista that they haven't told Google? BTW, I'm amazed by how quickly KVM has improved over the last few months. Astoundingly great work.