Re: [PATCH 15/24] KVM: x86 emulator: Provide more callbacks for x86 emulator.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/09/2010 07:57 PM, Gleb Natapov wrote:

Descriptor writes need an atomic kvm_set_guest_bit(), no?

It is? atomic against what? Current code just write whole descriptor
using write_std().
These are accessed bit changes, and are done atomically in the same
way as a page table walk sets the accessed and dirty bit.
Presumably the atomic operation is to allow the kernel to scan
segments and swap them out if they are not used.

We can use cmpxchg callback for that, no?


Yes.

--
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux