mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-12 12:30:08 +00:00
tools: acrn-crashlog: replace debugfs with api
Replace debugfs with api in loop.c. There is no functional change. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/queue.h>
|
||||
#include <openssl/sha.h>
|
||||
#include <ext2fs/ext2fs.h>
|
||||
#include "event_queue.h"
|
||||
|
||||
#define CONTENT_MAX 10
|
||||
@@ -34,8 +35,9 @@ struct vm_t {
|
||||
char *interval;
|
||||
char *syncevent[VM_EVENT_TYPE_MAX];
|
||||
|
||||
int online;
|
||||
ext2_filsys datafs;
|
||||
unsigned long history_size[SENDER_MAX];
|
||||
char *history_data;
|
||||
char last_synced_line_key[SENDER_MAX][SHA_DIGEST_LENGTH + 1];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user