}
void Host::turnOn() {
- simcall_host_on(p_inferior);
+ p_inferior->on();
}
void Host::turnOff() {
- simcall_host_off(p_inferior);
+ p_inferior->off();
}
bool Host::isOn() {
return sg_host_get_state(p_inferior);
if (mounts == NULL) {
mounts = new boost::unordered_map<std::string, Storage&> ();
- xbt_dict_t dict = simcall_host_get_mounted_storage_list(p_inferior);
+ xbt_dict_t dict = p_inferior->getMountedStorageList();
xbt_dict_cursor_t cursor;
char *mountname;