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

[Xen-devel] Xc_mem_access_enable_emulate() is currently a no-operation


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>, "Lengyel, Tamas" <tlengyel@xxxxxxxxxxx>
  • From: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
  • Date: Mon, 7 Dec 2015 11:09:38 +0200
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Mon, 07 Dec 2015 09:09:16 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=FNNSag592869AbEG+u+8l+HjBnkBrYKX+bn+vBwnDlqE6k7ZVBZAVkrcQ/qfdpqn2w3NN8317mM9yHP4JNx86n/RdvtfZWiPoitidlDG5Ut5w+utN6WGJ//q+hYRakQ0g7Ur3KW9WsXy2uHe0nkYsViRIywtFXvRKbaVeu7SyPfEiB/vScAMLmbSGAnGT3Ihp7PCsOVaqufPVZfa+CQeku/5YgeP7PnI99dgPnvq1mmfzftT9uZuv6ghhmTXCmKBHVTRSjwpBFtryecbDyiae+EUbK9NLXzjdqF9/V5OeFAEkbPZRYNQ/myO6R6xDDqxRJ61R4Z3US2PJjR23wMN8A==; h=Received:Received:Received:Received:Received:To:From:Subject:X-Enigmail-Draft-Status:Message-ID:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello,

While looking at some code with Tamas these past few days, we discovered
that xc_mem_access_enable_emulate() doesn't actually do anything other
that setting the mem_access_emulate_enabled flag.

Fixing that would likely be trivial (if the flag is not set,
p2m_mem_access_emulate_check() should just return). However, my question
is: do we really need that function? Are there cases where it would make
sense to use the vm_event subsystem but disable emulation support? After
all, if the client code wants to use emulation support it can call
xc_mem_access_enable_emulate(), and if not it can simply not set the
EMULATE flags in the vm_event replies.

As far as I'm concerned, the libxc function can go (along with the
per-domain flag), but then again we're emulation-intensive so it's quite
possible that I'm not seeing the proper use case for this.

Thoughts?


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.