Re: [PATCH] kvm: bios: Put AP boot up code to 0x1000

2008-08-05 Thread Yang, Sheng
On Sunday 03 August 2008 03:30:41 Sebastian Herbszt wrote: Yang, Sheng wrote: Please refer to my another patch comment. Basicly, AP is running HLT in 0x10038, but it can exit due to some reason, here QEmu want to raise it up . But after AP exit from HLT, it can't return to it because the

Fail to create disk.img

2008-08-05 Thread Stephen Liu
Hi folks, Ubuntu 8.04 server amd64 - host - headless (w/o X packages) Ubuntu 6.06 server amd64 - guest - headless (w/o X packages) KVM Previously I ran; # qemu-img create -f qcow2 disk.img 10G then # kvm -hda disk.img -cdrom /dev/scd0 -m 512 -boot d to create a working disk.img. It works

Re: Fail to create disk.img

2008-08-05 Thread Stephen Liu
--- Uri Lublin [EMAIL PROTECTED] wrote: Stephen Liu wrote: # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2

RE: [PATCH 1/1] KVM/userspace: Support for assigning PCI devices to guest

2008-08-05 Thread Ben-Ami Yassour
On Fri, 2008-08-01 at 11:09 +0800, Han, Weidong wrote: Ben-Ami Yassour wrote: +#define assigned_dev_ioport_write(suffix) \ +static void assigned_dev_ioport_write##suffix(void *opaque, \ + uint32_t addr, \ +

Re: Fail to create disk.img

2008-08-05 Thread Uri Lublin
Stephen Liu wrote: --- Uri Lublin [EMAIL PROTECTED] wrote: Stephen Liu wrote: # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2

Re: Fail to create disk.img

2008-08-05 Thread Soren Hansen
On Tue, Aug 05, 2008 at 05:29:22PM +0800, Stephen Liu wrote: Try adding -vnc :9 # kvm -hdb ubuntu6.06_20080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2 -vnc :9 It is hanging here, You absolutely must be kidding. It has only been 7 days since this was all explained to you once:

Re: Fail to create disk.img

2008-08-05 Thread Uri Lublin
Stephen Liu wrote: Hi folks, Ubuntu 8.04 server amd64 - host - headless (w/o X packages) Ubuntu 6.06 server amd64 - guest - headless (w/o X packages) KVM # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB # kvm -hdb

[PATCH] Clear temporary interrupt blocking on halt in real mode

2008-08-05 Thread Laurent Vivier
When halt is emulated, skip_emulated_instruction() is called and interruptibility state is cleared. But when halt is emulated in real mode, skip_emulated_instruction() is not called and the interruptiblity state is not cleared. The following code, from gPXE, never exits from loop because

Re: Fail to create disk.img

2008-08-05 Thread Stephen Liu
--- Uri Lublin [EMAIL PROTECTED] wrote: - snip - Look at the thread below, does it help ? http://www.mail-archive.com/[EMAIL PROTECTED]/msg04447.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg04449.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg04451.html Hi Uri and folks.

Re: Fail to create disk.img

2008-08-05 Thread Ian Kirk
Stephen Liu wrote: must be in 2 steps. Correct, as far as I know you have to use qemu-img. Could not initialize SDL - exiting Maybe this is your problem. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Fail to create disk.img

2008-08-05 Thread Uri Lublin
Stephen Liu wrote: Hi folks, Ubuntu 8.04 server amd64 - host - headless (w/o X packages) Ubuntu 6.06 server amd64 - guest - headless (w/o X packages) KVM # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB # kvm -hdb

Re: Fail to create disk.img

2008-08-05 Thread Soren Hansen
On Tue, Aug 05, 2008 at 06:37:09PM +0800, Stephen Liu wrote: # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2 -vnc :9 (starting) Here, you're attaching your disk image to /dev/hdb. # kvm ubuntu6.06_080805.img -vnc :0 Here... not so much. viewer starts displaying;

[ kvm-Bugs-1970154 ] Guest(s) crash on starting multiple VMs

2008-08-05 Thread SourceForge.net
Bugs item #1970154, was opened at 2008-05-23 12:06 Message generated for change (Comment added) made by amitshah You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1970154group_id=180599 Please note that this message will contain a full copy of the comment

Re: Fail to create disk.img

2008-08-05 Thread Soren Hansen
On Tue, Aug 05, 2008 at 04:57:29PM +0800, Stephen Liu wrote: # kvm -hda disk.img -cdrom /dev/scd0 -m 512 -boot d to create a working disk.img. It works on the VM. No. We've been through all of this just a few days ago. If you don't tell kvm differently, it will attempt to use SDL (which uses

Re: [PATCH 5/5] This patch extends the VT-d driver to support KVM

2008-08-05 Thread Ben-Ami Yassour
On Tue, 2008-08-05 at 14:01 +0800, Yang, Sheng wrote: On Tuesday 29 July 2008 00:26:28 Ben-Ami Yassour wrote: [Ben: fixed memory pinning] kvm_free_physmem_slot(old, new); + + /* map the pages in iommu page table */ + if (intel_iommu_found()) +

[ kvm-Bugs-2026321 ] info cpus crashes KVM with -smp 2+

2008-08-05 Thread SourceForge.net
Bugs item #2026321, was opened at 2008-07-24 08:02 Message generated for change (Comment added) made by amitshah You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2026321group_id=180599 Please note that this message will contain a full copy of the comment

Re: Fail to create disk.img (SOLVED)

2008-08-05 Thread Stephen Liu
--- Soren Hansen [EMAIL PROTECTED] wrote: On Tue, Aug 05, 2008 at 06:37:09PM +0800, Stephen Liu wrote: # kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512 -boot d -smp 2 -vnc :9 (starting) Here, you're attaching your disk image to /dev/hdb. # kvm ubuntu6.06_080805.img -vnc :0

[ kvm-Bugs-2026870 ] xorg-cirrus 1.2.1 fails in x86_64 kvm guests.

2008-08-05 Thread SourceForge.net
Bugs item #2026870, was opened at 2008-07-24 10:56 Message generated for change (Comment added) made by mtosatti You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2026870group_id=180599 Please note that this message will contain a full copy of the comment

Re: Merging adjacent memory slots

2008-08-05 Thread Glauber Costa
On Tue, Aug 5, 2008 at 4:41 PM, Daniel Godás [EMAIL PROTECTED] wrote: Hi, i've playing with libkvm.c and tried to make register_slot a bit more intelligent. The code in the repository always creates a new slot when register_slot is called but to give memory management more flexibility it

[2.6 patch] KVM: fix userspace ABI breakage

2008-08-05 Thread Adrian Bunk
The following part of commit 9ef621d3be56e1188300476a8102ff54f7b6793f (KVM: Support mixed endian machines) changed on the size of a struct that is exported to userspace: include/linux/kvm.h: @@ -318,14 +318,14 @@ struct kvm_trace_rec { __u32 vcpu_id; union {

RE: [PATCH 5/5] This patch extends the VT-d driver to support KVM

2008-08-05 Thread Ben-Ami Yassour
On Tue, 2008-08-05 at 22:46 +0800, Han, Weidong wrote: Ben-Ami Yassour wrote: [Ben: fixed memory pinning] Signed-off-by: Kay, Allen M [EMAIL PROTECTED] Signed-off-by: Weidong Han [EMAIL PROTECTED] Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] --- + +int