+Sun Jan 28 14:44:23 EST 2007 Daniel Berrange <berrange@redhat.com>
+
+ * sc/console.c, src/console.h, src/virsh.c: Rename the
+ virRunConsole method to vshRunConsole to avoid it getting
+ picked up in auto-generated python bindings
+
Fri Jan 26 07:59:52 EST 2007 Daniel Berrange <berrange@redhat.com>
* src/virshtest.c: Fixed up for new way test driver enumerates
got_signal = 1;
}
-int virRunConsole(const char *tty) {
+int vshRunConsole(const char *tty) {
int ttyfd, ret = -1;
struct termios ttyattr, rawattr;
void (*old_sigquit)(int);
extern "C" {
#endif
- int virRunConsole(const char *tty);
+ int vshRunConsole(const char *tty);
#ifdef __cplusplus
}
obj = xmlXPathEval(BAD_CAST "string(/domain/devices/console/@tty)", ctxt);
if ((obj != NULL) && ((obj->type == XPATH_STRING) &&
(obj->stringval != NULL) && (obj->stringval[0] != 0))) {
- if (virRunConsole((const char *)obj->stringval) == 0)
+ if (vshRunConsole((const char *)obj->stringval) == 0)
ret = TRUE;
} else {
vshPrintExtra(ctl, _("No console available for domain\n"));