Re: [kvm-devel] external module sched_in event

2007-12-25 Thread Avi Kivity
Andrea Arcangeli wrote:
 On Sun, Dec 23, 2007 at 07:37:40PM +0200, Avi Kivity wrote:
   
 The sched_in notifier needs to enable interrupts (but it must disable 
 preemption to avoid recursion).
 

 Ok this update fixes the smp_call_function deadlock.

   

I was able to boot a 4-way guest on a 2-way i386 host, so looks like
this works.  Thanks, it will reduce the maintenance burden needed for
the external module.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] [ kvm-Bugs-1858122 ] vm exit 0x9 in QEMU-KVM but OK in QEMU

2007-12-25 Thread SourceForge.net
Bugs item #1858122, was opened at 2007-12-25 21:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=893831aid=1858122group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Kratochvil (kratochvil)
Assigned to: Nobody/Anonymous (nobody)
Summary: vm exit 0x9 in QEMU-KVM but OK in QEMU

Initial Comment:
Just an easy/fast/reliable reproducer:
http://www.seagate.com/support/seatools/SeaToolsDOS207EURO.iso
md5sum: 979a046340942d6da63a530801c2d492
OK:
# qemu -net none -cdrom /tmp/SeaToolsDOS207EURO.iso
# qemu-system-x86_64 -net none -cdrom /tmp/SeaToolsDOS207EURO.iso 
Could not open '/dev/kqemu' - QEMU acceleration layer not activated
but wrong (in 2 secs of the boot - seatools.exe):
# qemu-kvm -net none -cdrom /tmp/SeaToolsDOS207EURO.iso 
unhandled vm exit:  0x9
rax e068 rbx 00202620 rcx 07ff10ba rdx 
10ba
rsi 0054 rdi 000804b0 rsp 614e rbp 
6156
r8   r9   r10  r11 

r12  r13  r14  r15 

rip 2f09 rflags 4086
cs 0018 (00017300/ p 1 dpl 0 db 0 s 1 type b l 0 g 0 avl 0)
ds 0020 (0001bf20/ p 1 dpl 0 db 1 s 1 type 3 l 0 g 0 avl 0)
es 0020 (0001bf20/ p 1 dpl 0 db 1 s 1 type 3 l 0 g 0 avl 0)
ss 0020 (0001bf20/ p 1 dpl 0 db 1 s 1 type 3 l 0 g 0 avl 0)
fs 0020 (0001bf20/ p 1 dpl 0 db 1 s 1 type 3 l 0 g 0 avl 0)
gs 0020 (0001bf20/ p 1 dpl 0 db 1 s 1 type 3 l 0 g 0 avl 0)
tr 0068 (0001e44e/00f1 p 1 dpl 3 db 1 s 0 type b l 0 g 0 avl 0)
ldt  (/ p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt 1c4c4/87
idt 1c94c/7ff
cr0 e011 cr2 0 cr3 48000 cr4 10 cr8 0 efer 0
Aborted


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=893831aid=1858122group_id=180599

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] Thinkpad T61p and VT

2007-12-25 Thread Tanner Xero Ezell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a new Thinkpad and I am wanting to use the virtualization
technology. vmx is present in /proc/cpuinfo and i have enabled it in
the BIOS (most recent bios available from lenovo). I cannot load
kvm-intel, dmesg reports [ 1252.245357] kvm: disabled by bios.

Using Ubuntu 7.10, kernel 2.6.22-14 (x86_64).

Any help would be most appreciated.

Tanner Ezell.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHcYUponMdW/6mR2YRAq96AKCYVe3bFNqox536SdAPho+tzKx6mgCfRJPy
zYaXCC81TiePZb+FfrmZHKA=
=KEet
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] virtio_net and SMP guests

2007-12-25 Thread Rusty Russell
On Tuesday 25 December 2007 23:22:37 Dor Laor wrote:
 btw: I checked your Linux tree and found it a bit old, there was no tx
 coalescing timer, it's probably good
 for 2.6.24. Do you plan to post patchset for 25 windows?
 Thanks,
 Dor

Hmm, should be updated now.  Will be pushing all these virtio patches for 
2.6.25...

Cheers,
Rusty.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] README: How to run kvm guests on IA64

2007-12-25 Thread Akio Takebe
Hi,

Run guests with the command :
/usr/local/bin/qemu-system-ia64 -hda your.img -m 512

If you have any question, please feel free to contact me! 
Can I use the guest image of Xen?
Or do I need to clean-install Linux or Windows on KVM guest?

Best Regards,

Akio Takebe


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] README: How to run kvm guests on IA64

2007-12-25 Thread Zhang, Xiantao
Akio Takebe wrote:
 Hi,
 
 Run guests with the command :
 /usr/local/bin/qemu-system-ia64 -hda your.img -m 512
 
 If you have any question, please feel free to contact me!
 Can I use the guest image of Xen?
 Or do I need to clean-install Linux or Windows on KVM guest?

Sure, you can use xen's hvm image directly :)
Xiantao 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] README: How to run kvm guests on IA64

2007-12-25 Thread Zhang, Xiantao
Akio Takebe wrote:
 Hi,
 
 Run guests with the command :
 /usr/local/bin/qemu-system-ia64 -hda your.img -m 512
 
 If you have any question, please feel free to contact me!
 Can I use the guest image of Xen?
 Or do I need to clean-install Linux or Windows on KVM guest?
Hi, Akio
Thank you for your try!
In addition, If you want to boot windows up on Open GFW, you also need
to pick up the patch I sent to xen-ia64 mailing list, and built it with
latest efi-vfirmware.hg source. 
I attached it in this mail.
Xiantao
---BeginMessage---
Hi Tristan, 
This patch fixes possible failures on windows boot in some environment. 
Since current piix3 and piix4 in qemu only uses irq 10 and irq 11 for
pci irqs, so
here don't need to assign irq 5 and irq 6 for this purpose. IRQ 6 may
conflict
with the irq of legacy floppy disk controllers. 

diff -r f263d2bca359 edk2-sparse/EdkXenPkg/Dxe/XenAcpi/build.c
--- a/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/build.c Wed Dec 12 02:02:32 2007
+0100
+++ b/edk2-sparse/EdkXenPkg/Dxe/XenAcpi/build.c Tue Dec 25 14:59:34 2007
+0800
@@ -33,7 +33,7 @@
 #define LSAPIC_ID(n) n
 extern int get_vcpu_nr (void);
 #define get_apic_mode() 1
-#define PCI_ISA_IRQ_MASK0x0c60U /* ISA IRQs 5,6,10,11 are PCI
connected */
+#define PCI_ISA_IRQ_MASK0x0c00U /* ISA IRQs 10,11 are PCI connected
*/
 #endif
 
 #define align16(sz) (((sz) + 15)  ~15)


diff
Description: diff
___
Xen-ia64-devel mailing list
[EMAIL PROTECTED]
http://lists.xensource.com/xen-ia64-devel---End Message---
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] [PATCH] external module: remove define for MAX_IO_APICS

2007-12-25 Thread Carlo Marcelo Arenas Belon
This reverts commit a2c1905ff7c6faf9253d4185952a5b85036114f7.

It was made obsolete by 3f5daaafad51a2b75171c2a93a28cc55ce205cae
and would redefine MAX_IO_APIC to a smaller value in amd64 that
the one used by asm/apicdef.h for non SMP kernels  2.6.21

Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED]
---
 kernel/external-module-compat.h |5 -
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 1b9d7bb..63d3fc5 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -566,11 +566,6 @@ static inline void blahblah(void)
 
 #endif
 
-/* apicdef.h doesn't get included before 2.6.21 if non-smp */
-#ifndef MAX_IO_APICS
-#define MAX_IO_APICS 64
-#endif
-
 /* X86_FEATURE_NX is missing in some x86_64 kernels */
 
 #include asm/cpufeature.h
-- 
1.5.2.5


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel