Re: [PATCH 06/55] KVM: Per-architecture hypercall definitions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Avi Kivity <avi@...>
Cc: <linux-kernel@...>, <kvm-devel@...>, Christian Borntraeger <borntraeger@...>
Date: Wednesday, December 26, 2007 - 3:32 pm

Hi!


so it returns 'KVMKVMKVM' in %rax, too? 


rax? First, this file is shared with i386, AFAICT.


Second, if it is to be placed in rax, nr should be unsigned long?



                               ebx|ecx|ed

Should the comment say


Plus, I'd use memcmp, and actually test for those zeros, too.

...which probably can be done later, as this is pure move...
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 44/55] KVM: add kvm_is_error_hva(), Avi Kivity, (Wed Dec 26, 7:05 am)
[PATCH 45/55] KVM: introduce gfn_to_hva(), Avi Kivity, (Wed Dec 26, 7:05 am)
[PATCH 41/55] KVM: VMX: wbinvd exiting, Avi Kivity, (Wed Dec 26, 7:05 am)
Re: [PATCH 06/55] KVM: Per-architecture hypercall definitions, Pavel Machek, (Wed Dec 26, 3:32 pm)
[PATCH 09/55] KVM: Add kernel-internal memory slots, Avi Kivity, (Wed Dec 26, 7:05 am)