forked from bitdefender/libbdvmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Just a friendly heads-up :) #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
razvan-cojocaru
wants to merge
103
commits into
aoshiken:master
Choose a base branch
from
bitdefender:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial import of the libbdvmi library. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Filled in AUTHORS and basic build instructions to the README. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Cleanup in the Xen event manager code (readability, less Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added an example application that simply prints out register write events to the console. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
The code is using namespace std for brevity, but the std:: prefix remained in use in a few places. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added more information on the required Xen version and how to do a quick test run for the library to the README file. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added an explicit LGPLv3 header to the hookdomain.cpp example. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added a new option, --with-xen to configure.ac, for use with non-standard Xen installations. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Fixed the way the configure script looks for Xen headers when the --with-xen is being used with ./configure. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
No longer using an AC_SUBST()-ed $(xendir). Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Add an extra autoreconf -fi step to the bootstrap script. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added an extra mkdir m4 step to ./bootstrap. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Now using mkdir -p m4/ in the bootstrap script. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
According to valgrind, when poll() returns -1, fd.revents will contain random stack bytes. Signed-off-by: Mihai Dontu <mdontu@bitdefender.com>
The Xen event manager code has been modified to now notify that the guest is about to be shut down (as opposed to previously notifying the client application after the domain was no longer running). Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
This reverts commit 5c8d55f.
Added a better way to detect that a guest is shutting down (while the guest still exists). Now using xc_monitor_emulate_each_rep(). Be more tolerant of mem_access_emulate_enable() failures. Removed Xen 4.3 support. Coding style fixes. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
The wrong value was being passed to the event handler for Xen versions >= 4.6. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added Driver::getXSAVESize(), to be able to compute the XSAVE size. Modified XenDriver::requestPageFault() to take a bitmask (errorCode) instead of the boolean-like writeAccess. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Fixed a corner case where a crash is possible if XenDriver::::getDomainId() throws. Updated the source code to compile against XenServer's Dundee (7.0) version of Xen. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Indentation fixes (especially for } else { and } catch () {.
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added a xc_mem_access_disable_emulate() call to the cleanup logic. Now ignoring what xc_mem_access_enable_emulate() returns, since the function itself does nothing other than setting a Xen flag that no other code checks. Modified a rather cryptic error message to a hopefully more user-friendly one. Fixed a small memory leak (on error). Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Updated README. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Libbdvmi used to support in-house versions of Xen going back to 4.3. Since 4.6 has been out for a while, and it works out of the box, this patch removes support for the older versions. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Fixed a couple of copy/pasted messages printed to stdout. Now creating the event handler object before the event manager. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
All domains are now considered protected. Fixes and improvements. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Added a couple of command-line macro definitions needed to be able to compile libbdvmi against Xen 4.7-unstable. Fixed a small coding style issue. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
std::runtime_error will do just fine. Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
minor adjustments
Updated the copyright year.
libbdvmi: added an RPM spec file
libbdvmi: fixed a compatibility issue with older versions of automake
clang-format support
It prevents the successful build of the project on certain platforms.
libbdvmi: renamed the linker version script
libbdvmi: define includedir in the pkg-config file
libbdvmi: fixed a crash caused by the use of an invalid std::set iterator
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
skip the maxGFN scan for KVM
KVM: cleanup startTime_ related code
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
fix commit 'fd82e22 KVM: cleanup startTime_ related code'
add option to disable Xen support
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
fix commit '14ade80'add option to disable Xen support
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
Signed-off-by: Adalbert Lazăr <alazar@bitdefender.com>
Add build workflow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
You should probably sync your fork with the original libbdvmi, there have been fixes and updates since the version you've forked, so you should go for the latest version for best results.
Happy new year,
Razvan