Re: [kvm-devel] [PATCH] virtio_ring: make structure defines packed

2008-02-09 Thread ron minnich
On Feb 8, 2008 5:01 AM, Christian Borntraeger <[EMAIL PROTECTED]> wrote: > Currently the virtio_ring structure are not declared packed, but they > describe an hardware like interface. We should not allow compilers to make > alignments and optimizations that can be different between the guest and >

[kvm-devel] script initiation and user access of host system

2008-02-09 Thread Bob Tennent
>|I want to be able to "connect" and initiate a guest in a *script* >|(so it can be done automatically when the host boots), and then allow >|users (without admin privileges) to access the guest graphically. Is >|this a reasonable mode of operation? If so, how do I do it? If I call >|qemu-kvm

Re: [kvm-devel] [PATCH] virtio_ring: make structure defines packed

2008-02-09 Thread Arnd Bergmann
On Sunday 10 February 2008, you wrote: > Christian Borntraeger wrote: > >  struct vring_used > >  { > >   __u16 flags; > >   __u16 idx; > > + __u32 padding; > >   struct vring_used_elem ring[]; > > -}; > > +} __attribute__ ((packed)); > >   > > This padding that you've put in is n

Re: [kvm-devel] KVM migration problem on Ubuntu

2008-02-09 Thread duck
>Well, but it seems, now the virtual machine no longer finds >a network device anymore. Hmmm. Some version info would have been handy (e.g. using kvm-60, using Linux kernel 2.8.12). Kvm-60 emulates the 8139 LAN card by default, not the NE2000 of earlier versions. Check which card you have by swi

Re: [kvm-devel] [PATCH] virtio_ring: make structure defines packed

2008-02-09 Thread Anthony Liguori
Hi Christian, Christian Borntraeger wrote: > struct vring_used > { > __u16 flags; > __u16 idx; > + __u32 padding; > struct vring_used_elem ring[]; > -}; > +} __attribute__ ((packed)); > This padding that you've put in is not something that would normally occur on x86.

Re: [kvm-devel] script initiation and user access of host system

2008-02-09 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of Bob Tennent Sent: Fri 08/02/2008 17:54 To: kvm-devel@lists.sourceforge.net Subject: [kvm-devel] script initiation and user access of host system Hi. I want to be able to "connect" and initiate a guest in a *script* (so it can be done automatically when the ho

Re: [kvm-devel] KVM migration problem on Ubuntu

2008-02-09 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of Kay Hayen Sent: Sat 09/02/2008 14:12 To: kvm-devel@lists.sourceforge.net Subject: [kvm-devel] KVM migration problem on Ubuntu Hello people, I have a Ubuntu gutsy minimal VM made as a testing environment for our system software. In the mean time, I upgraded to

Re: [kvm-devel] [PATCH] virtio_ring: make structure defines packed

2008-02-09 Thread Arnd Bergmann
On Friday 08 February 2008, Christian Borntraeger wrote: > Currently the virtio_ring structure are not declared packed, but they > describe an hardware like interface. We should not allow compilers to make > alignments and optimizations that can be different between the guest and > host compile

Re: [kvm-devel] [ofa-general] Re: [patch 0/6] MMU Notifiers V6

2008-02-09 Thread Christoph Lameter
On Sat, 9 Feb 2008, Rik van Riel wrote: > PG_mlock is on the way and can easily be reused for this, too. Note that a pinned page is different from an mlocked page. A mlocked page can be moved through page migration and/or memory hotplug. A pinned page must make both fail.

Re: [kvm-devel] [PATCH] make KVM selectable again

2008-02-09 Thread Ingo Molnar
* Dave Hansen <[EMAIL PROTECTED]> wrote: > config HAVE_SETUP_PER_CPU_AREA > def_bool X86_64 > > -select HAVE_KVM > +config HAVE_KVM > + def_bool y i think it might be better to just move the select to after the "config X86" option. (this is a legitimate use of select) Sam, do you c

[kvm-devel] [PATCH] make KVM selectable again

2008-02-09 Thread Dave Hansen
Current git for me (b1d0e4f535e10775cffde922208b49629169aeaa) doesn't let me build KVM. In fact, I don't seem to have *ANY* kvm-related symbols in my .config at all. I've verified that arch/x86/kvm/Kconfig was getting run by putting some comments in it. It seems to me like just putting:

Re: [kvm-devel] [ofa-general] Re: [patch 0/6] MMU Notifiers V6

2008-02-09 Thread Rik van Riel
On Fri, 8 Feb 2008 18:16:16 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Sat, 9 Feb 2008, Andrea Arcangeli wrote: > > > The VM shouldn't break if try_to_unmap doesn't actually make the page > > freeable for whatever reason. Permanent pins shouldn't happen anyway, > > VM is livelo

[kvm-devel] KVM migration problem on Ubuntu

2008-02-09 Thread Kay Hayen
Hello people, I have a Ubuntu gutsy minimal VM made as a testing environment for our system software. In the mean time, I upgraded to Hardy, largely driven by the hope that it will improve certain issues I had. Well, but it seems, now the virtual machine no longer finds a network device anymo