Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 02:31:49PM +0200, Pekka Enberg wrote: On Mon, Mar 22, 2010 at 1:48 PM, Ingo Molnar mi...@elte.hu wrote: What about line number information?  And the source?  Into the kernel with them as well? Sigh. Please read the _very first_ suggestion i made, which solves all

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 02:44:57PM +0200, Avi Kivity wrote: On 03/22/2010 01:39 PM, Ingo Molnar wrote: Reality is, the server space never was and never will be self-sustaining in the long run (as Novell has found it out with Netware), it is the desktop that dictates future markets. This is

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 01:54:40PM +0100, Ingo Molnar wrote: * Daniel P. Berrange berra...@redhat.com wrote: FYI, for offline guests, you can use libguestfs[1] to access change files inside the guest, and read-only access to running guests files. It provides access via a interactive

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-22 Thread Daniel P. Berrange
On Mon, Mar 22, 2010 at 02:15:35PM -0500, Anthony Liguori wrote: On 03/22/2010 12:55 PM, Avi Kivity wrote: Lets look at the ${HOME}/.qemu/qmp/ enumeration method suggested by Anthony. There's numerous ways that this can break: I don't like it either. We have libvirt for enumerating

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-22 Thread Daniel P. Berrange
On Tue, Mar 23, 2010 at 03:00:28AM +0700, Antoine Martin wrote: On 03/23/2010 02:15 AM, Anthony Liguori wrote: On 03/22/2010 12:55 PM, Avi Kivity wrote: Lets look at the ${HOME}/.qemu/qmp/ enumeration method suggested by Anthony. There's numerous ways that this can break: I don't like it

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-24 Thread Daniel P. Berrange
On Wed, Mar 24, 2010 at 04:01:37PM +0100, Joerg Roedel wrote: An approach like: The files are owned and only readable by the same user that started the vm. might be a good start. So a user can measure its own guests and root can measure all of them. That's not how sVirt works. sVirt

Re: does qmp supports usb_add?

2010-04-16 Thread Daniel P. Berrange
On Fri, Apr 16, 2010 at 09:18:12PM +0800, chunhui zhao wrote: Hi guys. As the kvm does not support auto connection of USB device, unless someone inputs the command usb_add in the monitor. I wonder if there is a better way, say, like some linux, auto mount the USB device without any

Re: does qmp supports usb_add?

2010-04-19 Thread Daniel P. Berrange
On Mon, Apr 19, 2010 at 08:55:37PM +0800, chunhui zhao wrote: Thanks Dan. However, as I checked this command device_add, I did not found QMP support it. I use the command: {QMP: {query-command}} In the return list, I did not found the device_add. The list is as below:

Re: KVM call agenda for Apr 27

2010-04-27 Thread Daniel P. Berrange
On Tue, Apr 27, 2010 at 08:03:42AM -0500, Anthony Liguori wrote: On 04/27/2010 03:14 AM, Avi Kivity wrote: On 04/27/2010 01:36 AM, Anthony Liguori wrote: A few comments: 1) The problem was not block watermark itself but generating a notification on the watermark threshold. It's a

Re: KVM call agenda for Apr 27

2010-04-27 Thread Daniel P. Berrange
On Tue, Apr 27, 2010 at 04:15:54PM +0300, Gleb Natapov wrote: On Tue, Apr 27, 2010 at 02:11:46PM +0100, Daniel P. Berrange wrote: On Tue, Apr 27, 2010 at 08:03:42AM -0500, Anthony Liguori wrote: On 04/27/2010 03:14 AM, Avi Kivity wrote: On 04/27/2010 01:36 AM, Anthony Liguori wrote

Re: [PATCH 2/2] pci: allow sysfs file owner to read device dependent config space

2010-05-13 Thread Daniel P. Berrange
On Thu, May 13, 2010 at 01:56:53PM +0300, Avi Kivity wrote: On 05/13/2010 04:29 AM, Chris Wright wrote: The PCI config space bin_attr read handler has a hardcoded CAP_SYS_ADMIN check to verify privileges before allowing a user to read device dependent config space. This is meant to protect

Re: [Qemu-devel] Re: KVM call agenda for May 18

2010-05-18 Thread Daniel P. Berrange
On Tue, May 18, 2010 at 08:53:19AM -0500, Anthony Liguori wrote: On 05/17/2010 10:23 PM, Chris Wright wrote: Please send in any agenda items you are interested in covering. If we have a lack of agenda items I'll cancel the week's call. - Slipping 0.13 release out to July 1st. What is

Re: the 1Tb block issue

2010-05-18 Thread Daniel P. Berrange
On Tue, May 18, 2010 at 07:52:45PM +0400, Michael Tokarev wrote: I just re-verified it on current stable qemu-kvm-0.12.4. The issue is still here, trivial to trigger. kvm-img create test.raw 1500G kvm ... \ -drive file=test.raw,if=virtio it fails right on the mkfs stage:

Re: [Qemu-devel] Re: KVM call agenda for May 18

2010-05-18 Thread Daniel P. Berrange
On Tue, May 18, 2010 at 01:00:40PM -0300, Luiz Capitulino wrote: On Tue, 18 May 2010 15:55:41 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Tue, May 18, 2010 at 09:34:06AM -0500, Anthony Liguori wrote: On 05/18/2010 09:09 AM, Daniel P. Berrange wrote: On Tue, May 18, 2010

Re: [PATCH qemu-kvm] device-assignment: add config fd qdev property

2010-05-20 Thread Daniel P. Berrange
On Wed, May 19, 2010 at 02:18:35PM -0500, Anthony Liguori wrote: On 05/19/2010 02:00 PM, Chris Wright wrote: When libvirt launches a guest it first chowns the relevenat /sys/bus/pci/.../config file for an assigned device then drops privileges. This causes an issue for device assignment

Re: [libvirt] dynamic scsi disk attach seems to be broken in qemu(-kvm)-0.11, libvirt-0.7.1

2009-10-09 Thread Daniel P. Berrange
On Thu, Oct 08, 2009 at 10:57:55PM -0500, Dustin Kirkland wrote: Now, all of that said, it is actually possible to hot-add a second scsi device. However, as far as I can tell, this method is not yet supported by libvirt. It looks to me that with modern qemu, you have to do it this way:

Re: A few KVM security questions

2009-12-07 Thread Daniel P. Berrange
On Mon, Dec 07, 2009 at 06:09:55PM +0100, Joanna Rutkowska wrote: Also, SELinux seems to me like a step into the wrong direction. It not only adds complexity to the already-too-complex kernel, but requires complex configuration. See e.g. this paper[1] for a nice example of how to escape

Re: [PATCH] Inform users about busy device assignment attempt

2009-12-09 Thread Daniel P. Berrange
On Wed, Dec 09, 2009 at 07:04:13PM +0100, Alexander Graf wrote: When using -pcidevice on a device that is already in use by a kernel driver all the user gets is the following (very useful) information: Failed to assign device 04:00.0 : Device or resource busy Failed to deassign device

Re: [PATCH] Inform users about busy device assignment attempt

2009-12-09 Thread Daniel P. Berrange
On Wed, Dec 09, 2009 at 08:18:21PM +0100, Alexander Graf wrote: Daniel P. Berrange wrote: Unconditionally telling people to run rmmod is a pretty dangerous thing todo. If they typod and gave the PCI addr of their disk controller instead of the NIC, they'll be less than happy

Re: [PATCH] Inform users about busy device assignment attempt

2009-12-09 Thread Daniel P. Berrange
On Wed, Dec 09, 2009 at 08:44:06PM +0100, Alexander Graf wrote: Daniel P. Berrange wrote: On Wed, Dec 09, 2009 at 08:18:21PM +0100, Alexander Graf wrote: Daniel P. Berrange wrote: Unconditionally telling people to run rmmod is a pretty dangerous thing todo. If they typod

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.

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

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]: 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: [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: 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: [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: [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: [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: 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: 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: 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: [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: 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: 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: [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: [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 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] Kvm: Qemu: save nvram

2008-12-02 Thread Daniel P. Berrange
On Tue, Dec 02, 2008 at 03:01:20PM +0200, Avi Kivity wrote: Daniel P. Berrange wrote: 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

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: How to send ACPI events to kvm guests

2008-12-08 Thread Daniel P. Berrange
On Mon, Dec 08, 2008 at 04:03:43PM +0100, Christian Roessner wrote: Hi, first of all I am not sure, if this is the right place for my question, so if not, please speak friendly :-) I use kvm-72 directly over the command line, because I use vde, which is not enabled in Ubuntu intrepid co

Re: [Qemu-devel] [PATCH] Vmchannel PCI device.

2008-12-14 Thread Daniel P. Berrange
On Sun, Dec 14, 2008 at 01:15:42PM -0600, Anthony Liguori wrote: Gleb Natapov wrote: On Sun, Dec 14, 2008 at 02:28:23PM +0200, Blue Swirl wrote: On 12/14/08, Gleb Natapov g...@redhat.com wrote: There is a need for communication channel between host and various agents that are

Re: [Qemu-devel] [PATCH] Vmchannel PCI device.

2008-12-14 Thread Daniel P. Berrange
On Sun, Dec 14, 2008 at 04:56:49PM -0600, Anthony Liguori wrote: Daniel P. Berrange wrote: On Sun, Dec 14, 2008 at 01:15:42PM -0600, Anthony Liguori wrote: One non-QEMU backend I can see being implemented is a DBus daemon, providing a simple bus for RPC calls between guests host

Re: [Qemu-devel] [PATCH] Vmchannel PCI device.

2008-12-15 Thread Daniel P. Berrange
On Sun, Dec 14, 2008 at 08:03:39PM -0600, Anthony Liguori wrote: Daniel P. Berrange wrote: On Sun, Dec 14, 2008 at 04:56:49PM -0600, Anthony Liguori wrote: Daniel P. Berrange wrote: On Sun, Dec 14, 2008 at 01:15:42PM -0600, Anthony Liguori wrote: One non-QEMU backend I can see

Re: [Qemu-devel] [PATCH 0/3] Add BIOS splash image support

2008-12-17 Thread Daniel P. Berrange
On Tue, Dec 16, 2008 at 02:28:29PM -0600, Anthony Liguori wrote: Blue Swirl wrote: On 12/16/08, Laurent Vivier laurent.viv...@bull.net wrote: This series of patches adds a nice BIOS startup splash screen. It adds a -splash option allowing to specify the picture file name (a 640x480

Re: [Qemu-devel] [PATCH 0/3] Add BIOS splash image support

2008-12-17 Thread Daniel P. Berrange
On Wed, Dec 17, 2008 at 01:18:57PM +, Paul Brook wrote: Modern BIOSes have splash screens. I don't see why our BIOS shouldn't have one too. Crap PC BIOSes have splash screens because they're horribly slow and otherwise printing lots of irrelevant scary junk at users. The best

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:54:10AM -0600, Anthony Liguori wrote: On 01/19/2011 07:11 AM, Markus Armbruster wrote: Gerd Hoffmannkra...@redhat.com writes: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM, Jan Kiszka wrote: The device model topology is 100% a hidden architectural detail. This is true for the sysbus, it

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:51:58AM -0600, Anthony Liguori wrote: On 01/19/2011 11:01 AM, Daniel P. Berrange wrote: The reason we specify 'bus' is that we wanted to be flexible wrt upgrades of libvirt, without needing restarts of QEMU instances it manages. That way we can introduce new

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:42:18AM -0600, Anthony Liguori wrote: On 01/19/2011 11:35 AM, Daniel P. Berrange wrote: On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: On 01/18/11 18:09, Anthony Liguori wrote: On 01/18/2011 10:56 AM

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-20 Thread Daniel P. Berrange
On Thu, Jan 20, 2011 at 09:44:05AM +0100, Gerd Hoffmann wrote: Hi, For (2), you cannot use bus=X,addr=Y because it makes assumptions about the PCI topology which may change in newer -M pc's. Why should the PCI topology for 'pc' ever change? We'll probably get q35 support some day, but

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-07 Thread Daniel P. Berrange
On Sat, Feb 05, 2011 at 04:34:01PM +, James Neave wrote: Hi, I'm trying to pass a NOVA-T-500 TV Tuner card through to a gust VM. I'm getting the error The driver 'pci-stub' is occupying your device :08:06.2 This is a rather misleading error message. It is *expected* that pci-stub

Re: [Qemu-devel] [PATCH 02/18] Introduce read() to FdMigrationState.

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 10:54:01AM +0100, Anthony Liguori wrote: On 02/10/2011 10:30 AM, Yoshiaki Tamura wrote: Currently FdMigrationState doesn't support read(), and this patch introduces it to get response from the other side. Signed-off-by: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp

Re: [Qemu-devel] [PATCH 02/18] Introduce read() to FdMigrationState.

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 07:23:33PM +0900, Yoshiaki Tamura wrote: 2011/2/10 Daniel P. Berrange berra...@redhat.com: On Thu, Feb 10, 2011 at 10:54:01AM +0100, Anthony Liguori wrote: On 02/10/2011 10:30 AM, Yoshiaki Tamura wrote: Currently FdMigrationState doesn't support read

Re: Problem with bridged tap interface

2011-02-23 Thread Daniel P. Berrange
On Wed, Feb 23, 2011 at 12:34:45PM +0100, andreas.a...@de.transport.bombardier.com wrote: Hi all, sorry for the previous partial e-mail, I hit the send button accidentally ;-). I have a setup with a kvm-based virtual machine running a stock RedHat 6.1 (yes, that old) on a rather

Re: Configuring the bridge interface: why assign an IP?

2011-03-14 Thread Daniel P. Berrange
On Mon, Mar 14, 2011 at 11:24:40AM -0600, Ben Beuchler wrote: Most of the examples for setting up the bridge interface on a VM host suggest assigning the IP address to the bridge. Assigning the IP to the bridge leaves you open to the MAC address of the bridge changing as you add/remove guests

Re: [libvirt] [Qemu-devel] KVM call minutes for Mar 15

2011-03-17 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 12:06:06PM -0700, Chris Wright wrote: * Anthony Liguori (anth...@codemonkey.ws) wrote: On 03/15/2011 09:53 AM, Chris Wright wrote: QAPI snip - c library implementation is critical to have unit tests and test driven development - thread safe? - no

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-04 Thread Daniel P. Berrange
On Mon, Mar 07, 2011 at 05:46:28PM +0800, Lai Jiangshan wrote: From: Lai Jiangshan la...@cn.fujitsu.com Date: Mon, 7 Mar 2011 17:05:15 +0800 Subject: [PATCH 2/2] qemu,qmp: add inject-nmi qmp command inject-nmi command injects an NMI on all CPUs of guest. It is only supported for x86 guest

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-14 Thread Daniel P. Berrange
On Wed, Apr 13, 2011 at 10:56:21PM +0300, Blue Swirl wrote: On Wed, Apr 13, 2011 at 4:08 PM, Luiz Capitulino lcapitul...@redhat.com wrote: On Tue, 12 Apr 2011 21:31:18 +0300 Blue Swirl blauwir...@gmail.com wrote: On Tue, Apr 12, 2011 at 10:52 AM, Avi Kivity a...@redhat.com wrote: On

Re: [Qemu-devel] Re: KVM call minutes for June 8

2010-06-09 Thread Daniel P. Berrange
On Wed, Jun 09, 2010 at 12:18:20PM -0300, Luiz Capitulino wrote: On Tue, 08 Jun 2010 16:13:37 -0500 Anthony Liguori anth...@codemonkey.ws wrote: On 06/08/2010 03:59 PM, Luiz Capitulino wrote: Now, QError. This is something I think we should fix for 0.13. However, I still don't

Re: [Qemu-devel] Re: KVM call minutes for June 8

2010-06-09 Thread Daniel P. Berrange
On Wed, Jun 09, 2010 at 11:22:55AM -0500, Anthony Liguori wrote: On 06/09/2010 10:31 AM, Daniel P. Berrange wrote: However, libvirt was counting on this feature and on the snapshot commands to switch from the text Monitor. We have two options: 1. Ask them to wait one more release

Re: Graphical virtualisation management system

2010-06-25 Thread Daniel P. Berrange
On Fri, Jun 25, 2010 at 11:07:26AM +0200, Gerd Hoffmann wrote: On 06/25/10 09:05, Christoph Hellwig wrote: Second I still haven't figure out how to install and manage a system using the serial console with KVM, which certainly contributes to the complete lack of usability above. Serial

Re: Graphical virtualisation management system

2010-06-25 Thread Daniel P. Berrange
On Fri, Jun 25, 2010 at 03:05:42AM -0400, Christoph Hellwig wrote: On Thu, Jun 24, 2010 at 02:01:52PM -0500, Javier Guerra Giraldez wrote: On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash fjwc...@gmail.com wrote: ??* virt-manager which requires X and seems to be more desktop-oriented;

Re: KVM and NUMA

2010-07-15 Thread Daniel P. Berrange
On Thu, Jul 15, 2010 at 07:10:35PM +0200, Ralf Spenneberg wrote: Hi, I just had a chance to play with KVM on Ubuntu 10.04 LTS on some new HP 360 g6 with Nehalem processors. I have a feeling that KVM and NUMA on these machines do not play well together. Doing some benchmarks I got bizarre

Re: Allow a user to stop and start one guest VM

2010-07-20 Thread Daniel P. Berrange
On Tue, Jul 20, 2010 at 08:01:15AM -0500, Neil Aggarwal wrote: Hello: One of my customers asked for access to stop and start their guest VM. Right now, I can do that using virsh, but I do not want to give this customer the ability to stop and start all VMs running on the host. Is

Re: [PATCH] device-assignment: Use PCI I/O port sysfs resource file when available

2010-07-21 Thread Daniel P. Berrange
On Tue, Jul 20, 2010 at 04:13:06PM -0700, Chris Wright wrote: * Alex Williamson (alex.william...@redhat.com) wrote: When supported by the host kernel, we can use read/write on the PCI sysfs resource file for I/O port regions. This allows us to avoid raw in/out commands and works with

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-21 Thread Daniel P. Berrange
On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote: On Sun, 18 Jul 2010 15:43:55 +0300 Michael Goldish mgold...@redhat.com wrote: Signed-off-by: Michael Goldish mgold...@redhat.com Do you need this for 0.13? I think the development window is already closed. ---

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote: On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Wed, Jul 21, 2010 at 03:44:14PM -0300, Luiz Capitulino wrote: Another related issue is that, this probably should an async handler

Re: [Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 10:50:00AM -0300, Luiz Capitulino wrote: On Thu, 22 Jul 2010 14:45:35 +0100 Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jul 22, 2010 at 10:28:39AM -0300, Luiz Capitulino wrote: On Wed, 21 Jul 2010 20:06:56 +0100 Daniel P. Berrange berra...@redhat.com

Re: [Qemu-devel] Using Linux's CPUSET for KVM VCPUs

2010-07-22 Thread Daniel P. Berrange
On Thu, Jul 22, 2010 at 04:03:13PM +0200, Andre Przywara wrote: Hi all, while working on NUMA host pinning, I experimented with vCPU affinity within QEMU, but left it alone as it would complicate the code and would not achieve better experience than using taskset with the monitor

Re: KVM call agenda for July 27

2010-07-27 Thread Daniel P. Berrange
On Mon, Jul 26, 2010 at 05:28:21PM -0500, Anthony Liguori wrote: On 07/26/2010 04:28 PM, Chris Wright wrote: Please send in any agenda items you are interested in covering. - 0.13 update I'll pre-empt the 0.13 question with an answer. I'm just testing the VNC changes and if all

Re: [Qemu-devel] Re: KVM call agenda for July 27

2010-07-27 Thread Daniel P. Berrange
On Tue, Jul 27, 2010 at 10:28:04AM -0500, Anthony Liguori wrote: On 07/27/2010 10:22 AM, Markus Armbruster wrote: Kevin Wolfkw...@redhat.com writes: Am 27.07.2010 15:00, schrieb Anthony Liguori: On 07/27/2010 02:19 AM, Markus Armbruster wrote: Anthony

Re: [Qemu-devel] Re: KVM call agenda for July 27

2010-07-27 Thread Daniel P. Berrange
On Tue, Jul 27, 2010 at 07:17:06PM +0300, Avi Kivity wrote: On 07/27/2010 06:28 PM, Anthony Liguori wrote: If we add docs/deprecated-features.txt, schedule removal for at least 1 year in the future, and put a warning in the code that prints whenever raw is probed, I think I could warm up

Re: [Qemu-devel] Re: KVM call agenda for July 27

2010-07-27 Thread Daniel P. Berrange
On Tue, Jul 27, 2010 at 09:29:13AM -0700, Chris Wright wrote: * Daniel P. Berrange (berra...@redhat.com) wrote: On Tue, Jul 27, 2010 at 07:17:06PM +0300, Avi Kivity wrote: On 07/27/2010 06:28 PM, Anthony Liguori wrote: If we add docs/deprecated-features.txt, schedule removal

Re: [Qemu-devel] Re: KVM call agenda for July 27

2010-07-27 Thread Daniel P. Berrange
On Tue, Jul 27, 2010 at 07:42:34PM +0300, Avi Kivity wrote: On 07/27/2010 07:36 PM, Chris Wright wrote: If things work there's no reason for the user to go look at the logs. An exclamation point invites clicking. Even better would be an ABRT plugin, so if something goes (marginally)

Re: Credit-Based CPU Scheduling Modifying VM Disk Size

2010-08-09 Thread Daniel P. Berrange
On Mon, Aug 09, 2010 at 04:33:46PM -0400, Michael Li wrote: Just wondering if KVM supports (if not now then will it in future releases) the following: - Credit-Based CPU Scheduling like Xen. I tried the following command using RHEL 5.5 and it does not work: $ virsh schedinfo

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Daniel P. Berrange
On Thu, Jan 07, 2010 at 10:03:28AM +0200, Dor Laor wrote: On 01/06/2010 05:16 PM, Anthony Liguori wrote: On 01/06/2010 08:48 AM, Dor Laor wrote: On 01/06/2010 04:32 PM, Avi Kivity wrote: On 01/06/2010 04:22 PM, Michael S. Tsirkin wrote: We can probably default -enable-kvm to -cpu host, as

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Daniel P. Berrange
On Thu, Jan 07, 2010 at 02:40:34PM +0200, Avi Kivity wrote: On 01/07/2010 02:33 PM, Anthony Liguori wrote: There's another option. Make cpuid information part of live migration protocol, and then support something like -cpu Xeon-3550. We would remember the exact cpuid mask we present

Re: pci-stub error and MSI-X for KVM guest

2010-01-08 Thread Daniel P. Berrange
On Thu, Jan 07, 2010 at 04:50:03PM -0800, Chris Wright wrote: * Fischer, Anna (anna.fisc...@hp.com) wrote: So, when setting a breakpoint for the exit() call I'm getting a bit closer to figuring where it kills my guest. Thanks, this helps clarify what is happening. Breakpoint 1, exit

Re: Install a new guest remotely?

2010-01-11 Thread Daniel P. Berrange
On Mon, Jan 11, 2010 at 10:20:02AM -0600, Neil Aggarwal wrote: Hello: is a pain I'm using virt-install but I need X installed, we do not install X on our servers at all, and will rather not to. So can I do Our KVM servers are remote and do not have X installed. When we install a

Re: Install a new guest remotely?

2010-01-11 Thread Daniel P. Berrange
On Mon, Jan 11, 2010 at 11:37:25AM -0500, rek2 wrote: Then use virsh vncdisplay to get the port on the server to connect your VNC viewer. We use an SSH tunnel for the connection to ensure security. Neil ok so I must to be doing something wrong.. here is my line:

Re: [PATCH][STABLE-0.12] qemu-kvm: Disable cpu_set command to avoid segfault

2010-01-18 Thread Daniel P. Berrange
On Mon, Jan 18, 2010 at 01:34:21PM +0200, Avi Kivity wrote: On 01/11/2010 07:27 PM, Ryota Ozaki wrote: CPU hotplug feature is lost in this version. Even worse cpu_set qemu command may cause segfault. This patch fix the problem by just disabling it. It is enough for the stable branch.

Re: [Qemu-devel] [PATCH] Add definitions for current cpu models..

2010-01-20 Thread Daniel P. Berrange
On Wed, Jan 20, 2010 at 03:09:53PM -0500, john cooper wrote: Anthony Liguori wrote: On 01/19/2010 02:03 PM, Chris Wright wrote: * Anthony Liguori (anth...@codemonkey.ws) wrote: I'm very much against having -cpu Nehalem. The whole point of this is to make things easier for a user and

Re: KVM call agenda for Jan 26

2010-01-26 Thread Daniel P. Berrange
On Tue, Jan 26, 2010 at 03:24:50PM +0200, Avi Kivity wrote: On 01/26/2010 03:18 PM, Alexander Graf wrote: The main question is where does it belong? a) built into qemu b) built as separate tool, but shipped with qemu c) completely separate I'm personally leaning towards a. That way we

Re: KVM usability

2010-03-01 Thread Daniel P. Berrange
On Mon, Mar 01, 2010 at 09:14:02AM -0600, Anthony Liguori wrote: On 02/27/2010 04:56 AM, Ingo Molnar wrote: The other type of user we target is power virtualization/emulation users. We certainly could do better for this type of user but it's never going to fit what your expectation of

Re: KVM usability

2010-03-02 Thread Daniel P. Berrange
On Tue, Mar 02, 2010 at 03:22:07PM +0100, Gerd Hoffmann wrote: On 03/02/10 14:37, Nikolai K. Bochev wrote: I don't see where this argument is leading to. So far there are arguments that qemu/kvm sucks as a desktop virtualization, now suddenly the gui tools are shitty and everything should be

Re: KVM usability

2010-03-02 Thread Daniel P. Berrange
On Tue, Mar 02, 2010 at 03:52:52PM +0100, Gerd Hoffmann wrote: On 03/02/10 15:37, Daniel P. Berrange wrote: On Tue, Mar 02, 2010 at 03:22:07PM +0100, Gerd Hoffmann wrote: On 03/02/10 14:37, Nikolai K. Bochev wrote: I don't see where this argument is leading to. So far there are arguments

Re: KVM usability

2010-03-03 Thread Daniel P. Berrange
On Tue, Mar 02, 2010 at 06:57:54PM -0800, Ross Boylan wrote: On Mon, 2010-03-01 at 15:59 -0600, Anthony Liguori wrote: * desktop is 1024 x 720 1024x768 and this is what the default is today anyway. That was not my experience, as reported in my post a few days ago (800x600

Re: Fwd: Corrupted filesystem, possible after livemigration with iSCSI storagebackend.

2010-03-15 Thread Daniel P. Berrange
On Mon, Mar 15, 2010 at 08:59:10AM -0500, Anthony Liguori wrote: On 03/15/2010 08:46 AM, Espen Berg wrote: In our KVM system we have two iSCSI backends (master/slave configuration) with failover and two KVM hosts supporting live migration. The iSCSI volumes are shared by the host as a block

Re: KVM call agenda for Mar 16

2010-03-16 Thread Daniel P. Berrange
On Tue, Mar 16, 2010 at 10:18:03AM +0100, Juan Quintela wrote: Chris Wright chr...@redhat.com wrote: Please send in any agenda items you are interested in covering. Migration: - flexible migration: I hope to sent an RFC patch on time for the call. idea is to use subsections. -

Re: KVM call agenda for Mar 16

2010-03-16 Thread Daniel P. Berrange
On Tue, Mar 16, 2010 at 09:29:44AM +, Daniel P. Berrange wrote: On Tue, Mar 16, 2010 at 10:18:03AM +0100, Juan Quintela wrote: Chris Wright chr...@redhat.com wrote: Please send in any agenda items you are interested in covering. Migration: - flexible migration: I hope to sent

Re: KVM call agenda for Mar 16

2010-03-16 Thread Daniel P. Berrange
On Tue, Mar 16, 2010 at 11:43:48AM +0200, Avi Kivity wrote: On 03/16/2010 11:29 AM, Daniel P. Berrange wrote: On Tue, Mar 16, 2010 at 10:18:03AM +0100, Juan Quintela wrote: Chris Wrightchr...@redhat.com wrote: Please send in any agenda items you are interested in covering

Re: KVM call agenda for Mar 16

2010-03-16 Thread Daniel P. Berrange
On Tue, Mar 16, 2010 at 12:38:02PM +0200, Avi Kivity wrote: On 03/16/2010 12:31 PM, Daniel P. Berrange wrote: Polling loops are an indication that something is wrong. Except when people suggest they are the right answer, qcow high watermark ;-P I liked Anthony's suggestion

  1   2   3   >