Re: [kvm-devel] [GFXBOOT] [PATCH] When switching to real-mode, pass SS in a GP register

2007-09-30 Thread Avi Kivity
Anthony Liguori wrote: Hi Steffen, As Avi pointed out, VT requires that SS.RPL == CS.RPL. We're seeing gfxboot fail under KVM because ss = 0x5761 while cs = 0x4004 during the transition from real mode to protected mode. The attached patch passes the value of ss through ebx since KVM has to

[kvm-devel] [ kvm-Bugs-1805016 ] windows xp with acpi hal fails to reboot

2007-09-30 Thread SourceForge.net
Bugs item #1805016, was opened at 2007-09-30 14:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1805016group_id=180599 Please note that this message will contain a full copy of

[kvm-devel] [ kvm-Bugs-1805017 ] xpsp2 with 2vpus may fail to boot

2007-09-30 Thread SourceForge.net
Bugs item #1805017, was opened at 2007-09-30 14:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=1805017group_id=180599 Please note that this message will contain a full copy of

Re: [kvm-devel] [GFXBOOT] [PATCH] When switching to real-mode, pass SS in a GP register

2007-09-30 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: Hi Steffen, As Avi pointed out, VT requires that SS.RPL == CS.RPL. We're seeing gfxboot fail under KVM because ss = 0x5761 while cs = 0x4004 during the transition from real mode to protected mode. The attached patch passes the value of ss through

Re: [kvm-devel] BUG_ON in mmu.c:436

2007-09-30 Thread Avi Kivity
Ryan Harper wrote: * Anthony Liguori [EMAIL PROTECTED] [2007-09-24 16:39]: Ryan Harper wrote: * Avi Kivity [EMAIL PROTECTED] [2007-09-24 02:57]: Ryan Harper wrote: I've run into a nasty bug while trying to install a Linux guest using VMware Server inside a

Re: [kvm-devel] kvm guest memory management

2007-09-30 Thread Avi Kivity
Dong, Eddie wrote: But to the bigger picture. We're quite close to using user-allocated memory for the guest, instead of kernel allocated memory. This means that userspace will allocate a memory region and assign it to kvm as a memory slot. On x86-64, where we have a large address space,

Re: [kvm-devel] [PATCH] Correct management of REP prefix

2007-09-30 Thread Avi Kivity
Laurent Vivier wrote: This patch corrects some errors appearing when we have an emulation failure on an operation using REP prefix. When x86_emulate_insn() fails, saving EIP and ECX is not enough as emulation should have modified other registers like RSI or RDI. Moreover, the emulation can

Re: [kvm-devel] Unable to handle kernel paging request

2007-09-30 Thread Avi Kivity
Laurent Vivier wrote: (Yes, I know, it's again another bug I've introduced into KVM...) To avoid this, I suggest that Nitin and yourself review each other's patches. While I review every patch I commit, it works much better when someone who's involved daily with the code reviews the

Re: [kvm-devel] [PATCH][RFC] mmu:remove the usage of the private field by the rmap.

2007-09-30 Thread Avi Kivity
Izik Eidus wrote: Avi Kivity wrote: Izik Eidus wrote: Anthony Liguori wrote: I think you forgot to include the patch? Regards, Anthony Liguori yes i forgot :) here it is... Patch doesn't apply. Can you rebase to latest kvm.git? Also, fix whitespace issues

Re: [kvm-devel] Test result for KVM

2007-09-30 Thread Yang, Sheng
1. 64bit guest with 2.6.16 kernel crashes when start up nic https://sourceforge.net/tracker/index.php?func=detailaid=1804658group_ id=180599atid=893831 I found this is a instruction emulate problem. Guest try to execute movnti, but we haven't got it yet... Nitin, can you help to solve it?

Re: [kvm-devel] Test result for KVM

2007-09-30 Thread Avi Kivity
Yang, Sheng wrote: 1. 64bit guest with 2.6.16 kernel crashes when start up nic https://sourceforge.net/tracker/index.php?func=detailaid=1804658group_ id=180599atid=893831 I found this is a instruction emulate problem. Guest try to execute movnti, but we haven't got it yet... Nitin,

Re: [kvm-devel] Test result for KVM

2007-09-30 Thread Yang, Sheng
It seems like a mmio, but I can't confirm it now. My remote work station have been forced to shutdown, for it's the Chinese National Holiday next week... Avi Kivity wrote: Yang, Sheng wrote: 1. 64bit guest with 2.6.16 kernel crashes when start up nic

Re: [kvm-devel] guest reboot error

2007-09-30 Thread Avi Kivity
Dong, Eddie wrote: Avi Kivity wrote: It is good that I don't need to push the kernel device reset patch out that soon, but we still need to do so for a graceful reset especially kernel devices need to be reseted since Yes, that patch is needed. I thought of

Re: [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new CPU architecture

2007-09-30 Thread Avi Kivity
Zhang, Xiantao wrote: Zhang, Xiantao wrote: Hi Avi, So you mean IA64 can adopt the similar method as well? What method do you mean exactly? Put all arch-specific files into arch/ia64/kvm as you described in future KVM infrastructure. The powerpc people had

Re: [kvm-devel] KVM behaves weird on AMD64

2007-09-30 Thread Avi Kivity
Tobias Brink wrote: Miguel Araujo [EMAIL PROTECTED] writes: [snip] The issue started when I tried to install OpenBSD 4.1 on a Virtual Machine and It could not manage to write the MBR on disk. That should not happen. I have a probably similar problem with OpenBSD 4.1 and kvm-37

Re: [kvm-devel] KVM behaves weird on AMD64

2007-09-30 Thread Tobias Brink
Avi Kivity [EMAIL PROTECTED] writes: Tobias Brink wrote: I have a probably similar problem with OpenBSD 4.1 and kvm-37 and kvm-39 (didn't have time to test any further versions). Kernel is 2.6.22-gentoo-r5 and processor is Intel Core2 Quad. I use the modules from the unpatched (Gentoo)

Re: [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new CPU architecture

2007-09-30 Thread Zhang, Xiantao
Avi Kivity wrote: Zhang, Xiantao wrote: Zhang, Xiantao wrote: Hi Avi, So you mean IA64 can adopt the similar method as well? What method do you mean exactly? Put all arch-specific files into arch/ia64/kvm as you described in future KVM infrastructure. The powerpc people had

Re: [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new CPU architecture

2007-09-30 Thread Avi Kivity
Zhang, Xiantao wrote: Avi Kivity wrote: Zhang, Xiantao wrote: Zhang, Xiantao wrote: Hi Avi, So you mean IA64 can adopt the similar method as well? What method do you mean exactly? Put all arch-specific files into arch/ia64/kvm as you

Re: [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new CPU architecture

2007-09-30 Thread Zhang, Xiantao
Avi Kivity wrote: Zhang, Xiantao wrote: Avi Kivity wrote: Zhang, Xiantao wrote: Zhang, Xiantao wrote: Hi Avi, So you mean IA64 can adopt the similar method as well? What method do you mean exactly? Put all arch-specific files into arch/ia64/kvm as you described in

[kvm-devel] What happens on an INT80 instruction

2007-09-30 Thread Cameron Macdonell
Hi, I'm trying to understand guest virtualization at the lower levels. I have a somewhat basic question: How does KVM virtualize an int80 instruction from a guest? A pointer to an answer is just as good as an answer itself. Thanks, Cam

[kvm-devel] Ways to pause a VM?

2007-09-30 Thread Jun Koi
Hi, I have a question concerning how to pause a running VM. As far as I can see, there are 2 ways: 1) Send STOP signal to the related QEMU process 2) Use monitor interface to stop the QEMU process (stop command) Are these 2 ways equivelant? Any advantage or disadvantage of each method compare to

Re: [kvm-devel] Ways to pause a VM?

2007-09-30 Thread Anthony Liguori
Jun Koi wrote: Hi, I have a question concerning how to pause a running VM. As far as I can see, there are 2 ways: 1) Send STOP signal to the related QEMU process This prevents the QEMU process from running at all. The VNC server and monitor interface will become unresponsive. 2) Use

Re: [kvm-devel] Ways to pause a VM?

2007-09-30 Thread Jun Koi
On 10/1/07, Anthony Liguori [EMAIL PROTECTED] wrote: Jun Koi wrote: Hi, I have a question concerning how to pause a running VM. As far as I can see, there are 2 ways: 1) Send STOP signal to the related QEMU process This prevents the QEMU process from running at all. The VNC server

[kvm-devel] Any plans to rebase kvm to current qemu at the moment ?

2007-09-30 Thread Christian Ehrhardt
Hi, while working on the embedded powerpc port for kvm we have a lot of dependencies on current qemu 0.9.0 code for ppc support. Internally we currently run with a modified qemu, but eventually strive for integration with kvm-userspace. Therefor I wanted to ask if there are already detailed