Re: [PATCH] Kvm: Qemu: save nvram

2008-12-02 Thread Daniel P. Berrange
On Tue, Dec 02, 2008 at 10:25:49AM +0800, Zhang, Yang wrote: This patch to save the nvram. It save the nvram by specify the arg of -name.And the saved file named by the arg. If do not specify the arg, it will not save the nvram I think we might be better off having an explicit command line

Re: [PATCH 0/3] KVM-userspace: add NUMA support for guests

2008-12-01 Thread Daniel P. Berrange
On Mon, Dec 01, 2008 at 03:15:19PM +0100, Andre Przywara wrote: Avi Kivity wrote: Node over-committing is allowed (-nodes 0,0,0,0), omitting the -nodes parameter reverts to the old behavior. '-nodes' is too generic a name ('node' could also mean a host). Suggest -numanode. Need more

Re: [PATCH 0/3] KVM-userspace: add NUMA support for guests

2008-11-28 Thread Daniel P. Berrange
On Thu, Nov 27, 2008 at 11:23:21PM +0100, Andre Przywara wrote: Hi, this patch series introduces multiple NUMA nodes support within KVM guests. This will improve the performance of guests which are bigger than one node (number of VCPUs and/or amount of memory) and also allows better

Re: [PATCH 1/3] KVM-userspace: introduce -nodes command line option

2008-11-28 Thread Daniel P. Berrange
On Thu, Nov 27, 2008 at 11:25:12PM +0100, Andre Przywara wrote: The attached patch parses a list of host nodes given on the command line and passes it on to lower levels (namely qemu-kvm.c) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index 5abda5c..07acaf4 100644 --- a/qemu/sysemu.h +++

Re: [PATCH] Add KVM version to monitor info version

2008-11-26 Thread Daniel P. Berrange
On Wed, Nov 26, 2008 at 11:22:03AM +0100, Bj?rn Mork wrote: Trying to track the current KVM head as closely as possible, I often find myself wondering which KVM version a particular guest instance is running. The attached patch adds this information to the monitor command info version:

Re: Hangs

2008-11-21 Thread Daniel P. Berrange
On Fri, Nov 21, 2008 at 09:29:43PM +0100, Roland Lammel wrote: On Fri, Nov 21, 2008 at 4:55 PM, Glauber Costa [EMAIL PROTECTED] wrote: On Thu, Nov 20, 2008 at 02:56:00AM +0100, Marcelo Tosatti wrote: Why are you using -no-acpi? Perhaps switch the guest to acpi_pm to isolate kvm-clock

Re: virtio_net hang

2008-11-13 Thread Daniel P. Berrange
On Thu, Nov 13, 2008 at 01:27:09PM +0100, Emmanuel Lacour wrote: Dear kvm users/developpers, I have a problem here where the network interface of a guest hang 2 or 3 times a day. No more packets can be sent out or received, no error in guest or host logs. I have to stop networking, remove

Re: [PATCH] Activate Virtualization On Demand v2

2008-11-05 Thread Daniel P. Berrange
On Wed, Nov 05, 2008 at 09:48:16AM +0100, Alexander Graf wrote: X86 CPUs need to have some magic happening to enable the virtualization extensions on them. This magic can result in unpleasant results for users, like blocking other VMMs from working (vmx) or using invalid TLB entries (svm).

Re: VMX ideas

2008-11-03 Thread Daniel P. Berrange
On Mon, Nov 03, 2008 at 08:24:49AM +0100, Alexander Graf wrote: Am 03.11.2008 um 00:36 schrieb Glauber Costa [EMAIL PROTECTED]: On Sun, Nov 2, 2008 at 2:18 PM, Avi Kivity [EMAIL PROTECTED] wrote: Avi Kivity wrote: Daniel P. Berrange wrote: Yes, on Fedora, if you install the 'kvm

Re: KVM and VMport, or r76 UUID functionality

2008-10-27 Thread Daniel P. Berrange
On Mon, Oct 27, 2008 at 11:06:30AM -0700, Bryan McLellan wrote: I'm trying to associate KVM hosts and guests programmatically in a production environment. With VMWare-Server I had passed a variable (hostname of host) through the backdoor using the vmware-cmd and vmware-server binaries.

Re: Start KVM guest headless

2008-10-10 Thread Daniel P. Berrange
On Fri, Oct 10, 2008 at 08:24:54AM -0700, Simon Gao wrote: I am wondering to how to start a KVM guest OS headless, ie, no monitoring window? And I can attach to the guest's console if I want to. http://bellard.org/qemu/qemu-doc.html#SEC10 Read about the '-vnc' option to start it headless,

Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op

2008-09-10 Thread Daniel P. Berrange
On Tue, Sep 09, 2008 at 02:49:54PM -0500, Anthony Liguori wrote: Live migration happens in the background, but it is useful to make the monitor command appear as if it's blocking. This allows a management tool to immediately know when the live migration has completed without having to poll

Re: [Qemu-devel] [PATCH 2/10] Allow the monitor to be suspended during non-blocking op

2008-09-10 Thread Daniel P. Berrange
On Wed, Sep 10, 2008 at 02:11:56PM +0300, Avi Kivity wrote: Daniel P. Berrange wrote: This means that migration is no longer transparent. While migration is going on, you can't change the cdrom media, look at cpu registers, or do anything that requires the monitor. Changing cdrom

Re: [PATCH] kvm: qemu: Handle tap fds with IFF_VNET_HDR

2008-08-20 Thread Daniel P. Berrange
On Wed, Aug 20, 2008 at 12:49:23PM -0500, Anthony Liguori wrote: Mark McLoughlin wrote: Allow users to pass an IFF_VNET_HDR tap fd via -net tap,fd=X by querying the fd with the recently added TUNGETIFF ioctl() to see if IFF_VNET_HDR has been enabled. Note: users wishing to pass an

Re: [PATCH 1/1] kvm: qemu: Handle tap fds with IFF_VNET_HDR

2008-08-13 Thread Daniel P. Berrange
On Wed, Aug 13, 2008 at 07:24:30PM +0300, Avi Kivity wrote: Mark McLoughlin wrote: Okay, I've just sent a patch to add TUNGETIFF: http://marc.info/?l=linux-netdevm=121863813904363 See below patch for how we'd use it. Don't apply this until the kernel patch is accepted, obviously.

Re: Announcing: Open OVF project source code availibility

2008-08-12 Thread Daniel P. Berrange
On Tue, Aug 12, 2008 at 10:34:33AM -0400, Mike D. Day wrote: Announcing the open-ovf project and source code availibility. Hi folks, we are announcing the availibility of source code for the open-ovf project. Why was the Eclipse Public License chosen ? This license is not compatible with

Re: Announcing: Open OVF project source code availibility

2008-08-12 Thread Daniel P. Berrange
On Tue, Aug 12, 2008 at 11:26:34AM -0400, Mike Day wrote: On 12/08/08 15:46 +0100, Daniel P. Berrange wrote: Why was the Eclipse Public License chosen ? This license is not compatible with the GPL[1], so no GPL licensed app can make use of this code :-( For example it makes

Re: [libvirt] RE: [Qemu-devel] [ANNOUNCE] virt-mem tools version 0.2.8 released

2008-08-07 Thread Daniel P. Berrange
On Thu, Aug 07, 2008 at 07:40:58PM +0900, Jun Koi wrote: On Thu, Aug 7, 2008 at 7:20 PM, Alexey Eremenko [EMAIL PROTECTED] wrote: This seems to be great ! I think it is similar to OpenVZ concept of controlling VMs from Host, right ? How it works, if it is not installed in guest ?

Re: [PATCH]: Add a migrate_incoming monitor option

2008-08-01 Thread Daniel P. Berrange
On Thu, Jul 31, 2008 at 12:27:43PM -0500, Anthony Liguori wrote: Chris Lalancette wrote: We've been trying to plumb libvirt to do KVM migration. One of the stumbling blocks we are running into, however, is that libvirt expects to be able to use the Qemu monitor both before and after

Re: [PATCH]: Add a migrate_incoming monitor option

2008-07-31 Thread Daniel P. Berrange
On Thu, Jul 31, 2008 at 04:50:51PM +0200, Chris Lalancette wrote: We've been trying to plumb libvirt to do KVM migration. One of the stumbling blocks we are running into, however, is that libvirt expects to be able to use the Qemu monitor both before and after migration has taken place, on

Re: [PATCH] autoport overrides actual VNC port number in dump-xml

2008-07-30 Thread Daniel P. Berrange
On Wed, Jul 30, 2008 at 12:32:57AM -0500, Charles Duffy wrote: Per subject; if autoport is in use for a host, the current virDomainGraphicsDefFormat code always emits port=-1, even if a port is assigned to the host; this leaves no way for a client to find the VNC port assigned to the host

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 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

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: kvm guest loops_per_jiffy miscalibration under host load

2008-07-07 Thread Daniel P. Berrange
On Wed, Jul 02, 2008 at 01:40:21PM -0300, Marcelo Tosatti wrote: I have been discussing with Glauber and Gerd the problem where KVM guests miscalibrate loops_per_jiffy if there's sufficient load on the host. calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy.

<    1   2   3