コード例 #1
0
    exit;
}
if (isset($_GET["largepages"])) {
    largepages();
    exit;
}
if (isset($_GET["guestmemory"])) {
    guestmemory();
    exit;
}
if (isset($_GET["vram"])) {
    vram();
    exit;
}
if (isset($_GET["pid-kill"])) {
    vbox_kill();
    exit;
}
if (isset($_GET["VboxCpus"])) {
    VboxCpus();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $sock = new sockets();
    $infos = $sock->getFrameWork("cmd.php?virtualbox-showvminfo=yes&uuid=" . base64_encode($_GET["uuid"]));
    $array = unserialize(base64_decode($infos));
    $title = $tpl->_ENGINE_parse_body("{virtual_machine}: {$array["NAME"]}");
コード例 #2
0
	
	if(isset($_GET["guestmemoryballoon"])){guestmemoryballoon();exit;}
	if(isset($_GET["nestedpaging"])){nestedpaging();exit;}
	if(isset($_GET["vtxvpid"])){vtxvpid();exit;}
	if(isset($_GET["acpi"])){acpi();exit;}
	if(isset($_GET["ioapic"])){ioapic();exit;}
	if(isset($_GET["pagefusion"])){pagefusion();exit;}
	if(isset($_GET["hpet"])){hpet();exit;}
	
	
	
	
	if(isset($_GET["largepages"])){largepages();exit;}
	if(isset($_GET["guestmemory"])){guestmemory();exit;}
	if(isset($_GET["vram"])){vram();exit;}
	if(isset($_GET["pid-kill"])){vbox_kill();exit;}
	if(isset($_GET["VboxCpus"])){VboxCpus();exit;}
	
	
	
	
	
js();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$sock=new sockets();	
	$infos=$sock->getFrameWork("cmd.php?virtualbox-showvminfo=yes&uuid=".base64_encode($_GET["uuid"]));
	$array=unserialize(base64_decode($infos));