Updating link to change in openSUSE:Factory/xen revision 84.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=24e6c52baae4dc9cfba9b8bb18434dec
This commit is contained in:
committed by
Git OBS Bridge
parent
7d0b7344dd
commit
2c789f7e2f
@@ -191,7 +191,7 @@ Index: xen-4.0.0-testing/tools/ioemu-remote/qemu-xen.h
|
||||
void xenstore_process_event(void *opaque);
|
||||
void xenstore_record_dm(const char *subpath, const char *state);
|
||||
void xenstore_record_dm_state(const char *state);
|
||||
+void xenstore_record_dm_error(char *errmsg);
|
||||
+void xenstore_record_dm_error(const char *errmsg);
|
||||
void xenstore_check_new_media_present(int timeout);
|
||||
void xenstore_write_vncport(int vnc_display);
|
||||
void xenstore_read_vncpasswd(int domid, char *pwbuf, size_t pwbuflen);
|
||||
@@ -205,9 +205,9 @@ Index: xen-4.0.0-testing/tools/ioemu-remote/xenstore.c
|
||||
#include "sysemu.h"
|
||||
+#include "qemu-xen.h"
|
||||
|
||||
#include "console.h"
|
||||
#include "hw.h"
|
||||
#include "pci.h"
|
||||
@@ -836,6 +837,7 @@ static void xenstore_process_dm_command_
|
||||
@@ -839,6 +840,7 @@ static void xenstore_process_dm_command_
|
||||
{
|
||||
char *path = NULL, *command = NULL, *par = NULL;
|
||||
unsigned int len;
|
||||
@@ -215,7 +215,7 @@ Index: xen-4.0.0-testing/tools/ioemu-remote/xenstore.c
|
||||
|
||||
if (pasprintf(&path,
|
||||
"/local/domain/0/device-model/%u/command", domid) == -1) {
|
||||
@@ -851,7 +853,18 @@ static void xenstore_process_dm_command_
|
||||
@@ -854,7 +856,18 @@ static void xenstore_process_dm_command_
|
||||
|
||||
if (!strncmp(command, "save", len)) {
|
||||
fprintf(logfile, "dm-command: pause and save state\n");
|
||||
@@ -235,17 +235,17 @@ Index: xen-4.0.0-testing/tools/ioemu-remote/xenstore.c
|
||||
} else if (!strncmp(command, "continue", len)) {
|
||||
fprintf(logfile, "dm-command: continue after state save\n");
|
||||
xen_pause_requested = 0;
|
||||
@@ -984,6 +997,13 @@ void xenstore_record_dm_state(const char
|
||||
@@ -987,6 +1000,13 @@ void xenstore_record_dm_state(const char
|
||||
xenstore_record_dm("state", state);
|
||||
}
|
||||
|
||||
+void xenstore_record_dm_error(char *errmsg)
|
||||
+void xenstore_record_dm_error(const char *errmsg)
|
||||
+{
|
||||
+ fprintf(logfile, "%s\n", errmsg);
|
||||
+ xenstore_record_dm("error", errmsg);
|
||||
+ xenstore_record_dm_state("error");
|
||||
+}
|
||||
+
|
||||
void xenstore_process_media_change_event(char **vec)
|
||||
static void xenstore_process_media_change_event(char **vec)
|
||||
{
|
||||
char *media_present = NULL;
|
||||
|
Reference in New Issue
Block a user