fix: Reduce code duplicity by reusing closeConnection

Related-To: NEO-11188
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
Jitendra Sharma
2024-04-18 14:54:30 +00:00
committed by Compute-Runtime-Automation
parent 8c1f0836ae
commit c5a76cac3a
7 changed files with 38 additions and 56 deletions

View File

@@ -27,8 +27,6 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
ze_result_t initialize() override;
bool closeConnection() override;
struct IoctlHandlerXe : DebugSessionLinux::IoctlHandler {
int ioctl(int fd, unsigned long request, void *arg) override {
int ret = 0;
@@ -85,10 +83,6 @@ struct DebugSessionLinuxXe : DebugSessionLinux {
static void *asyncThreadFunction(void *arg);
void handleEventsAsync();
void cleanRootSessionAfterDetach(uint32_t deviceIndex) override {
UNRECOVERABLE_IF(true);
}
int openVmFd(uint64_t vmHandle, bool readOnly) override;
int flushVmCache(int vmfd) override;