All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/2] CPU hotplug virtio driver
@ 2008-01-09 10:21 Glauber de Oliveira Costa
  2008-01-09 10:21 ` [PATCH] cpu hotplug driver: kernel module Glauber de Oliveira Costa
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Glauber de Oliveira Costa @ 2008-01-09 10:21 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: avi-atKUWr5tajBWk0Htik3J/w,
	virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	marcelot-H+wXaHxf7aLQT0dZR+AlfA

I'm sending a first draft of my proposed cpu hotplug driver for kvm/virtio
The first patch is the kernel module, while the second, the userspace pci device.

The host boots with the maximum cpus it should ever use, through the -smp parameter.
Due to real machine constraints (which qemu copies), i386 does not allow for any addition
of cpus after boot, so this is the most general way.

I do however, include an "attempt_buffer" in the userspace part. It's purpose is to
allow tools like virt-manager to set a max_cpus (-smp), and a desired number of cpus
in their configuration files. (and AFAICT, there's is no easy way for them to tell when the
backend driver is up and running)

Other than that, it should be pretty much straightforward.

Looking forward for your comments



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH/RFC 0/2] CPU hotplug virtio driver
@ 2008-01-09 10:21 Glauber de Oliveira Costa
  0 siblings, 0 replies; 17+ messages in thread
From: Glauber de Oliveira Costa @ 2008-01-09 10:21 UTC (permalink / raw)
  To: kvm-devel; +Cc: virtualization, marcelot, anthony

I'm sending a first draft of my proposed cpu hotplug driver for kvm/virtio
The first patch is the kernel module, while the second, the userspace pci device.

The host boots with the maximum cpus it should ever use, through the -smp parameter.
Due to real machine constraints (which qemu copies), i386 does not allow for any addition
of cpus after boot, so this is the most general way.

I do however, include an "attempt_buffer" in the userspace part. It's purpose is to
allow tools like virt-manager to set a max_cpus (-smp), and a desired number of cpus
in their configuration files. (and AFAICT, there's is no easy way for them to tell when the
backend driver is up and running)

Other than that, it should be pretty much straightforward.

Looking forward for your comments

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-01-22  4:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 10:21 [PATCH/RFC 0/2] CPU hotplug virtio driver Glauber de Oliveira Costa
2008-01-09 10:21 ` [PATCH] cpu hotplug driver: kernel module Glauber de Oliveira Costa
     [not found] ` <11998740663306-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-09 10:21   ` Glauber de Oliveira Costa
2008-01-09 10:21     ` [PATCH] cpu hotplug driver: userspace back end Glauber de Oliveira Costa
     [not found]     ` <11998740731943-git-send-email-gcosta-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-09 10:21       ` Glauber de Oliveira Costa
2008-01-09 10:42   ` [PATCH/RFC 0/2] CPU hotplug virtio driver Avi Kivity
     [not found]     ` <4784A50E.6050302-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-09 14:12       ` Glauber de Oliveira Costa
2008-01-09 14:12     ` [kvm-devel] " Glauber de Oliveira Costa
2008-01-09 11:27   ` Christian Borntraeger
2008-01-09 14:21     ` [kvm-devel] " Glauber de Oliveira Costa
2008-01-09 14:37       ` Avi Kivity
     [not found]       ` <4784D882.1030104-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-01-09 14:37         ` Avi Kivity
     [not found]           ` <4784DC29.1020907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-22  4:11             ` Dong, Eddie
2008-01-22  4:11           ` [kvm-devel] " Dong, Eddie
2008-01-09 10:42 ` Avi Kivity
2008-01-09 11:27 ` Christian Borntraeger
  -- strict thread matches above, loose matches on Subject: below --
2008-01-09 10:21 Glauber de Oliveira Costa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.