Displaying 2 results from an estimated 2 matches for "virtio_warning".
2017 Apr 19
1
[PATCH supermin] init: Support root=UUID=... to specify the appliance disk by volume UUID.
...directory (const char *dir);
+static void parse_root_uuid (const char *uuid, unsigned char *raw_uuid);
+static int hexdigit (char d);
+static int find_fs_uuid (const unsigned char *raw_uuid, int *major, int *minor);
+static int parse_dev_file (const char *path, int *major, int *minor);
+static void virtio_warning (uint64_t delay_ns, const char *what);
 
 static char cmdline[1024];
 static char line[1024];
@@ -98,13 +104,11 @@ main ()
 {
   FILE *fp;
   size_t n;
-  char *root, *path;
+  char *root;
   size_t len;
   int dax = 0;
   uint64_t delay_ns;
-  int virtio_message = 0;
   int major, minor;
-  char *...
2017 Apr 25
1
[PATCH supermin v2] init: Support root=UUID=... to specify the appliance disk by volume UUID.
v1 -> v2:
- I fixed the end condition of the loop in parse_root_uuid.
- Retested.
Didn't change the busy wait loop into a function or macro,
as per discussion on IRC.
Rich.