Skip to contentSkip to conversation

Consolidate the various functions that read and write guest memory

PATCH Applied Laurent Vivier 2 participants 5 messages Jul 30, 2007 3 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

cover Consolidate the various functions that read and write guest memory

From the TODO, this serie of patch is trying to consolidate the various functions that read and write guest memory.
We remove kvm_read_guest() and kvm_write_guest(), and we use instead emulator_read_std() and emulator_write_emulated().

PATCH 1/6: read_std-vcpu, emulator_read_std() uses struct kvm_vcpu instead of x86_emulate_ctxt to be called in place of kvm_read_guest().

PATCH 2/6: read_emulated-vcpu, emulator_read_emulated() uses struct kvm_vcpu instead of x86_emulate_ctxt to be consistency with emulator_read_std().

PATCH 3/6: remove-kvm_read_guest, remove kvm_read_guest() and use emulator_read_std() instead.

PATCH 4/6: write_emulated-vcpu, emulator_write_emulated() uses struct kvm_vcpu instead of x86_emulate_ctxt to be called in place of kvm_write_guest().

PATCH 5/6: remove-kvm_write, remove kvm_write_guest() and use emulator_write_emulated() instead.

PATCH 6/6: cmpxchg_emulated-vcpu, emulator_cmpxchr_emulated() uses struct kvm_vcpu instead of x86_emulate_ctxt to be consistency with other memops.

Signature · 2 lines
------------- Laurent.Vivier-6ktuUTfB/[email protected]  --------------
          "Software is hard" - Donald Knuth

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 46ADB154.9030709-6ktuUTfB/[email protected]

#2 lore raw
Quoted 6 lines · Laurent Vivier

From the TODO, this serie of patch is trying to consolidate the various functions that read and write guest memory.
We remove kvm_read_guest() and kvm_write_guest(), and we use instead emulator_read_std() and emulator_write_emulated().

Patch 2/6 did not seem to make it to the list. Can you resend?

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

A message that is not in the archive (sent off-list or not yet received): 46ADB62E.5050802-atKUWr5tajBWk0Htik3J/[email protected]

#4 lore raw
Quoted 11 lines · Avi Kivity
Quoted 6 lines · Laurent Vivier

From the TODO, this serie of patch is trying to consolidate the various functions that read and write guest memory.
We remove kvm_read_guest() and kvm_write_guest(), and we use instead emulator_read_std() and emulator_write_emulated().

Patch 2/6 did not seem to make it to the list. Can you resend?

Be patient, SMTP seems a little bit slow... do you have it now ? (BTW, the title is broken "PATCH 2/6]" instead of "[PATH 2/6]")

Laurent

Signature · 2 lines
------------- Laurent.Vivier-6ktuUTfB/[email protected]  --------------
          "Software is hard" - Donald Knuth

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 46ADBC17.7070702-6ktuUTfB/[email protected]

#6 lore raw
Quoted 11 lines · Laurent Vivier
Quoted 9 lines · Avi Kivity
Quoted 7 lines · Laurent Vivier

From the TODO, this serie of patch is trying to consolidate the various functions that read and write guest memory.
We remove kvm_read_guest() and kvm_write_guest(), and we use instead emulator_read_std() and emulator_write_emulated().

Quoted 9 lines
Quoted 4 lines

Patch 2/6 did not seem to make it to the list. Can you resend?

Be patient, SMTP seems a little bit slow... do you have it now ? (BTW, the title is broken "PATCH 2/6]" instead of "[PATH 2/6]")

Yes, it's gotten there at last.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Applied
#7 lore raw
In reply to a message not in the archive
Quoted 6 lines · Laurent Vivier

From the TODO, this serie of patch is trying to consolidate the various functions that read and write guest memory.
We remove kvm_read_guest() and kvm_write_guest(), and we use instead emulator_read_std() and emulator_write_emulated().

Thanks, applied. Please use different subjects for emails in a patchset.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/