*/
commandList.add(new Command("s", Actions.OP_SPICE_PORT,
- "With spice port",
- "", false, true));
+ "Enable spice mode",
+ "", false, false));
}
@Override
isTest = true;
break;
case 's' :
- RemoteManager.setRemotePort(c.getCurrentValue());
RemoteManager.setSpiceMode(true);
break;
/*
public RemoteLaunch() {
this.action = Actions.AC_REMOTE_LAUNCH;
this.description = "Start remote emulator using selected VM.";
- this.usage = "remote-launch -n test -e ip -u account -s port [options]";
+ this.usage = "remote-launch -n test -e ip -u account [options]";
commandList.add(new Command("n", Actions.OP_NAME,
"Name of VM to start.","", true, true));
"", false, false));
commandList.add(new Command("s", Actions.OP_SPICE_PORT,
- "With spice port",
- "", true, true));
+ "Enable spice port",
+ "", false, false));
commandList.add(new Command("u", Actions.OP_USER_ACCOUNT,
"User account of remote.", "", true, true));
}
break;
case 's' :
- RemoteManager.setRemotePort(c.getCurrentValue());
RemoteManager.setSpiceMode(true);
break;
case 'e' :
/* spice options */
if (RemoteManager.getSpiceMode()) {
cmd.add("-spice");
- cmd.add("port=" + RemoteManager.getRemotePort() + ",disable-ticketing");
+ cmd.add("disable-ticketing");
cmd.add("-device");
- cmd.add("virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x12");
+ cmd.add("virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0");
cmd.add("-chardev");
cmd.add("spicevmc,id=vdagent,name=vdagent");
cmd.add("-device");
/* spice options */
if (RemoteManager.getSpiceMode()) {
cmd.add("-spice");
- cmd.add("port=" + RemoteManager.getRemotePort() + ",disable-ticketing");
+ cmd.add("disable-ticketing");
cmd.add("-device");
- cmd.add("virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x10");
+ cmd.add("virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0");
cmd.add("-chardev");
cmd.add("spicevmc,id=vdagent,name=vdagent");
cmd.add("-device");