mirror of
				https://github.com/libvirt/libvirt.git
				synced 2025-02-25 18:55:26 -06:00 
			
		
		
		
	Rename virRunConsole to vshRunConsole
This commit is contained in:
		| @@ -1,3 +1,9 @@ | ||||
| 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 | ||||
|   | ||||
| @@ -42,7 +42,7 @@ static void do_signal(int sig ATTRIBUTE_UNUSED) { | ||||
|     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); | ||||
|   | ||||
| @@ -27,7 +27,7 @@ | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
|     int virRunConsole(const char *tty); | ||||
|     int vshRunConsole(const char *tty); | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
|   | ||||
| @@ -359,7 +359,7 @@ cmdConsole(vshControl * ctl, vshCmd * cmd) | ||||
|     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")); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user