-
Notifications
You must be signed in to change notification settings - Fork 8
arm support #27
base: master
Are you sure you want to change the base?
arm support #27
Conversation
@@ -106,17 +106,21 @@ int VM::setTSSAddress(uint64_t tss_addr) { | |||
} | |||
|
|||
int VM::setUserMemoryRegion(kvm_userspace_memory_region *region) { | |||
m_cpu->requestExit(); | |||
if (m_cpu) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message looks broken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit should go into a separate PR.
CMakeLists.txt
Outdated
@@ -78,7 +78,7 @@ find_package(LIBCOROUTINE REQUIRED) | |||
message(STATUS "Found libcoroutine ${LIBCOROUTINE_PACKAGE_VERSION}") | |||
|
|||
if(WITH_TARGET MATCHES "s2e") | |||
# TODO: look at libcpu compile options to figure this out | |||
# TODO: look at libcpu compile options to figure this out§ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dangling char at end of line
libs2e.cpp | ||
s2e-kvm-io.cpp | ||
s2e-kvm-state-arm.cpp | ||
s2e-kvm-trace.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit should not be here. Please squash your previous changes.
src/s2e-kvm-vcpu.cpp
Outdated
} | ||
#endif | ||
else if (m_cpuBuffer->ready_for_interrupt_injection) { | ||
} else if (m_cpuBuffer->ready_for_interrupt_injection) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit should be squashed.
@@ -287,7 +287,8 @@ void S2EKVM::initLogLevel(void) { | |||
|
|||
const char *libcpu_log_file = getenv("LIBCPU_LOG_FILE"); | |||
if (libcpu_log_file) { | |||
logfile = fopen(libcpu_log_file, "w"); | |||
//logfile = fopen(libcpu_log_file, "w"); | |||
logfile = freopen(libcpu_log_file, "w", stdout); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this. Maybe you used it for debugging and forgot to remove?
a1106da
to
d33a194
Compare
Signed-off-by wei zhou <[email protected]>
Signed-off-by: chaojixx <[email protected]>
Signed-off-by: chaojixx <[email protected]>
…m env If cpu exit due to sregs updated, the env->kvm_exit_code will be set as 1. When sregs have been synced the kvm_exit_code will be reset to 0. Signed-off-by: wei zhou <[email protected]>
Signed-off-by: chaojixx <[email protected]>
Signed-off-by: chaojixx <[email protected]>
d33a194
to
2cc280d
Compare
allow user to custom the memory regions Signed-off-by: chaojixx <[email protected]>
This tells the client that the KVM is able to custom the memory regions Signed-off-by: chaojixx <[email protected]>
Signed-off-by: chaojixx <[email protected]>
db8477c
to
5d9dfa0
Compare
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
Signed-off-by: weizhou-chaojixx <[email protected]>
No description provided.