[SPARC64]: Fix setting of variables in LDOM guest.

There is a special domain services capability for setting
variables in the OBP options node.  Guests don't have permanent
store for the OBP variables like a normal system, so they are
instead maintained in the LDOM control node or in the SC.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2007-07-12 15:55:55 -07:00
parent 83292e0a9c
commit b3e13fbeb9
4 changed files with 192 additions and 15 deletions

View File

@@ -4,6 +4,8 @@
#include <asm/hypervisor.h>
extern int ldom_domaining_enabled;
extern void ldom_set_var(const char *var, const char *value);
extern void ldom_reboot(const char *boot_command);
/* The event handler will be evoked when link state changes
* or data becomes available on the receive side.