Avi Kivity | 1 Jan 2009 10:59
Picon
Favicon

[GIT PULL] KVM updates for 2.6.29-rc

Linus, please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git kvm-updates/2.6.29

for the 2.6.29 cycle KVM updates.  These include improved NMI support,
emulator improvements, better integration with kdump and emergency reboot,
MTRR support, MSI for assigned devices, some MMU performance optimizations,
arch updates, and random fixes.

Amit Shah (4):
      KVM: x86: Fix typo in function name
      KVM: SVM: Set the 'g' bit of the cs selector for cross-vendor migration
      KVM: SVM: Set the 'busy' flag of the TR selector
      KVM: x86 emulator: Fix handling of VMMCALL instruction

Avi Kivity (13):
      KVM: VMX: Conditionally request interrupt window after injecting irq
      KVM: x86 emulator: reduce duplication in one operand emulation thunks
      KVM: x86 emulator: consolidate emulation of two operand instructions
      KVM: x86 emulator: Extract 'pop' sequence into a function
      KVM: x86 emulator: allow pop from mmio
      KVM: x86 emulator: switch 'pop reg' instruction to emulate_pop()
      KVM: x86 emulator: fix ret emulation
      KVM: x86 emulator: fix popf emulation
      KVM: Remove extraneous semicolon after do/while
      KVM: Advertise the bug in memory region destruction as fixed
      KVM: Consolidate userspace memory capability reporting into common code
      KVM: MMU: Don't treat a global pte as such if cr4.pge is cleared
      KVM: Add locking to virtual i8259 interrupt controller

(Continue reading)

Avi Kivity | 1 Jan 2009 11:10
Picon
Favicon

Re: kvm-82 messages

FinnTux wrote:
> 2008/12/31 Avi Kivity <avi <at> redhat.com>:
>   
>> What happens to vista? which variant?  Is it a regression?
>>     
> Vista ultimate. Install goes fine but first boot hangs after BIOS
> messages in black screen and CPU usage is at 100%.
>   

What's your qemu command line?  Host cpu type?

--

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Avi Kivity | 1 Jan 2009 11:30
Picon
Favicon

Re: kvm-82 messages

Avi Kivity wrote:
> FinnTux wrote:
>> 2008/12/31 Avi Kivity <avi <at> redhat.com>:
>>  
>>> What happens to vista? which variant?  Is it a regression?
>>>     
>> Vista ultimate. Install goes fine but first boot hangs after BIOS
>> messages in black screen and CPU usage is at 100%.
>>   
>
> What's your qemu command line?  Host cpu type?
>

and, Vista x86 or x64?

--

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Avi Kivity | 1 Jan 2009 13:39
Picon
Favicon

Re: xen-in-kvm doesn't work with kvm-81.

Yiyi Hu wrote:
> Host info:
> hyy <at> Hs ~ $ uname -a
> Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
> AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux
>
> KVM is version 81. Installed from portage.
>
> The guest is 64bit debian lenny, Within guest, we install the xen system.
> The xen-in-kvm won't boot fine after upgraded to kvm-81.
>   

Can you find the last version of kvm that worked? that will speed up 
isolating the problem.

--

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Avi Kivity | 1 Jan 2009 14:07
Picon
Favicon

[ANNOUNCE] kvm-driver-disc 2008-12-29 releases

Updated Windows virtio drivers for kvm guests can be downloaded from the 
sourceforge page.  There is support for Windows 2000, Windows XP, and 
Windows 2008.

https://sourceforge.net/project/showfiles.php?group_id=180599

--

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

FinnTux | 1 Jan 2009 15:45
Picon

Re: kvm-82 messages

>> What's your qemu command line?  Host cpu type?
/usr/local/bin/qemu-system-x86_64 -name wks
2:vista -m 2048 -smp 1 -soundhw ac97 -vga cirrus -cpu qemu64 -k sv -localtime -d
rive file=/home/smr/kvm/vista.img,if=ide,cache=writethrough,boot=on -net nic,mac
addr=AC:DE:48:28:03:00,model=e1000 -net tap,ifname=br0.3.0 -pidfile /var/run/kvm
ctl/vista.pid -monitor unix:/var/run/kvmctl/vista.mon,server,nowait

CPU is Core 2 Duo E6400

> and, Vista x86 or x64?
x86
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Anssi Kolehmainen | 1 Jan 2009 16:34
Favicon

Re: lsi_scsi: error: Bad Status move errors with kvm-79

On Mon, Dec 08, 2008 at 10:27:00AM -0600, Ryan Harper wrote:
> > > * Anssi Kolehmainen <anssi <at> aketzu.net> [2008-12-04 08:51]:
> > > > I have kvm environment with linux-2.6.28-rc7 x86_64 (Xeon), kvm-79 host
> > > > and bunch of Win2K3 guests. Sometimes I get 'lsi_scsi: error: Bad Status
> > > > move' from kvm (qemu) and in Windows event log "The device,
> > > > \Device\Scsi\sym_hi1, did not respond within the timeout period." These
> > > > errors come somewhat at random, usually with 10-30 second intervals when
> > > > there is enough disk usage in the guest (seems that installing Bea
> > > > Weblogic or Oracle database is pretty nice for causing these errors).
> 
> Using kvm-userspace.git (kvm-80 is equivalent w.r.t scsi level) I
> installed win2k3 sp2 with scsi as the main device, qcow2 backed file.
> Downloaded, unzipped and installed the Weblogic server.  All with no
> issues at all.  I'll give it a run against raw devices, that seems to be
> what you were using.  Any more details on how to reliably reproduce the
> issue will help me track down the bug.

Tried kvm-82 (2.6.28-rc7 kernel, kvm-82 modules) today and the same
bug still exists. I thought everything was working somewhat fine but
then Windows decided to shoot with shotgun at its own system files and I
got to spend the day recovering and then rebuilding the vm :)

I'll setup another computer and see whether I can reproduce that on another
system.

--

-- 
Anssi Kolehmainen
anssi.kolehmainen <at> iki.fi
040-5085390
--
(Continue reading)

Avi Kivity | 1 Jan 2009 17:45
Picon
Favicon

Re: 'virtio DMA to IO ram' error

Passera, Pablo R wrote:
> Hi everybody,
>
>         I am trying to implement a new virtio device. I have implemented the new device in Qemu and I also have the
correspondent virtio driver in the guest. But when I get data in the device and I try to put that into the
virtqueue using virtqueue_pop, the qemu instance crash showing the error 'virtio DMA to IO ram'. This is
in the virtio_map_gpa function in virtio.c. Does anyone knows what this means?
>
>         Here is the code from virtio_map_gpa
> .
> .
> static void *virtio_map_gpa(target_phys_addr_t addr, size_t size)
> {
>     ram_addr_t off;
>     target_phys_addr_t addr1;
>
>     off = cpu_get_physical_page_desc(addr);
>     if ((off & ~TARGET_PAGE_MASK) != IO_MEM_RAM) {
>         fprintf(stderr, "virtio DMA to IO ram 1\n");
>         exit(1);
>     }
>   

In means the virtio buffers point to memory that is not RAM, but is some 
memory-mapped I/O range or pehaps unmapped.  I suggest printing the 
physical addresses both in the guest and in qemu; something is likely 
garbled.

--

-- 
error compiling committee.c: too many arguments to function
(Continue reading)

Sebastian Herbszt | 1 Jan 2009 17:48
Picon
Picon

[PATCH] bios: Remove duplicate call to qemu_cfg_port_probe()

qemu_cfg_port_probe is called twice in rombios32.c. Remove the second call.

- Sebastian

--- kvm-82-21-g733dc5f/bios/rombios32.c.orig 2009-01-01 17:44:44.000000000 +0100
+++ kvm-82-21-g733dc5f/bios/rombios32.c 2009-01-01 17:44:48.000000000 +0100
 <at>  <at>  -2201,10 +2201,6  <at>  <at>  void rombios32_init(uint32_t *s3_resume_
 
     init_smp_msrs();

-#ifdef BX_QEMU
-    qemu_cfg_port = qemu_cfg_port_probe();
-#endif
-
     ram_probe();

     cpu_probe();

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Volodymyr Buell | 1 Jan 2009 18:05
Picon

Mouse motion lags

Hi everybody,

I switched to KVM some time ago from vmware and VB. Everything works
great but there are noticeable lags in mouse motion in comparison with
other VMs.
Is this a known issue? Are there any optimizations for that?

KVM: 79
Distr: Ubuntu Intrepid & Jaunty
Command line: QEMU_AUDIO_DRV=sdl; kvm -net nic -net user -soundhw
es1370 -m 750 -smp 2 win.qcow

Thanks,
Volodymyr
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane