Displaying 10 results from an estimated 10 matches for "vnc_port".
Did you mean:
vdc_port
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...y :vm_state_change_events,
:order => 'created_at' do
def previous_state_with_type(state_type)
@@ -59,22 +51,6 @@ class Vm < ActiveRecord::Base
validates_format_of :uuid,
:with => %r([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})
- FORWARD_VNC_PORT_START = 5901
-
- validates_numericality_of :forward_vnc_port,
- :message => 'must be >= ' + FORWARD_VNC_PORT_START.to_s,
- :greater_than_or_equal_to => FORWARD_VNC_PORT_START,
- :if => Proc.new { |vm| vm.forward_vnc &&
- !vm.forward_vn...
2006 Jul 13
3
[PATCH] Update new qemu-dm to spawn vncviewer
...on the kernel command line.
"""
- if not (vals.vnc and vals.vncviewer) or vals.dryrun: return
- vnc_display = choose_vnc_display()
- if not vnc_display:
- warn("No free vnc display")
- return
- print ''VNC='', vnc_display
- vnc_port = spawn_vnc(vnc_display)
- if vnc_port > 0:
- vnc_host = get_host_addr()
- vnc = ''VNC_VIEWER=%s:%d'' % (vnc_host, vnc_port)
- vals.extra = vnc + '' '' + vals.extra
+ if not vals.vnc or vals.dryrun: return
+ if vals.vncconnect:
+ vnc_...
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...nel command line.
- """
- if vals.dryrun: return
- if vals.vncviewer:
- vnc_display = choose_vnc_display()
- if not vnc_display:
- warn("No free vnc display")
- return
- print ''VNC='', vnc_display
- vnc_port = spawn_vnc(vnc_display)
- if vnc_port > 0:
- vnc_host = get_host_addr()
- vnc = ''VNC_VIEWER=%s:%d'' % (vnc_host, vnc_port)
- vals.extra = vnc + '' '' + vals.extra
-
def preprocess(vals):
preprocess_disk(vals)...
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
....rb
+++ b/src/db-omatic/db_omatic.rb
@@ -113,6 +113,15 @@ class DbOmatic < Qpid::Qmf::Console
end
end
+ def set_vm_stopped(db_vm)
+ db_vm.host_id = nil
+ db_vm.memory_used = nil
+ db_vm.num_vcpus_used = nil
+ db_vm.needs_restart = nil
+ db_vm.vnc_port = nil
+ db_vm.state = Vm::STATE_STOPPED
+ end
+
def update_domain_state(domain, state_override = nil)
vm = Vm.find(:first, :conditions => [ "uuid = ?", domain['uuid'] ])
if vm == nil
@@ -190,12 +199,7 @@ class DbOmatic < Qpid::Qmf::Console...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
...+ vm = Vm.find(:first, :conditions => [ "description = ?", vm_description ])
+ if vm && vm.state == "running"
+ # connect to node
+ @logger.info "connecting to node " + vm.host.hostname + ":" + vm.vnc_port.to_s
+ node_socket = TCPSocket.open(vm.host.hostname, vm.vnc_port)
+
+ # begin new thread to process server->client messages
+ Thread.start do
+ @logger.debug "listening for server->client data"
+ while(true)d...
2005 May 02
2
forwarding stdin/out to remote socket
Hi!
Some vnc clients has '-via ssh_gateway' option to simplify the setup
of ssh port forwarding. Basically the option implements the following
3 steps:
1. Find local port available for listening.
2. Fork/exec ssh -L found_port:vnc_host:vnc_port ssh_gateway sleep some_delay
3. Connect to the found_port
Although convenient the setup has its problems. First, it exposes the
remote vnc port for everybody on the localhost for the duration of
some_delay. Second it can cause connection at step 3 to fail if it
would take a long time for ssh to...
2008 Feb 19
6
stubdom questions
samuel,
I have a try with HVM stubdomain on r17062, but failed to make on 32b platform.
Attached patch can fix it, but don''t know if okay.
After installation, I failed to start stubdom. So I created it manually and got
following debug mesg(both HVMdomain and stubdom are created)
Can you give some lights on following questions:
1. I use default vnclisten. Does it matter?
2. Seems qemu
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
....rb
+++ b/src/db-omatic/db_omatic.rb
@@ -113,6 +113,15 @@ class DbOmatic < Qpid::Qmf::Console
end
end
+ def set_vm_stopped(db_vm)
+ db_vm.host_id = nil
+ db_vm.memory_used = nil
+ db_vm.num_vcpus_used = nil
+ db_vm.needs_restart = nil
+ db_vm.vnc_port = nil
+ db_vm.state = Vm::STATE_STOPPED
+ end
+
def update_domain_state(domain, state_override = nil)
vm = Vm.find(:first, :conditions => [ "uuid = ?", domain['uuid'] ])
if vm == nil
@@ -190,12 +199,7 @@ class DbOmatic < Qpid::Qmf::Console...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...&gc);
+ return ERROR_FAIL;
}
int libxl_primary_console_exec(libxl_ctx *ctx, uint32_t domid_vm)
@@ -905,6 +973,7 @@ int libxl_primary_console_exec(libxl_ctx
int libxl_vncviewer_exec(libxl_ctx *ctx, uint32_t domid, int autopass)
{
+ libxl_gc gc = LIBXL_INIT_GC(ctx);
const char *vnc_port, *vfb_back;
const char *vnc_listen = NULL, *vnc_pass = NULL;
int port = 0, autopass_fd = -1;
@@ -915,22 +984,22 @@ int libxl_vncviewer_exec(libxl_ctx *ctx,
NULL,
};
- vnc_port = libxl_xs_read(ctx, XBT_NULL,
- libxl_sprintf(ctx,
+ vnc_port =...
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13):
libxl: fix unsigned less-than-0 comparison in e820_sanitize
libxl: check for xc_domain_setmaxmem failure in libxl__build_pre
libxl: correct file open success check in libxl__device_pci_reset
libxl: don''t leak p in libxl__wait_for_backend
libxl: remove unsigned less-than-0 comparison
libxl: actually abort if initializing a ctx''s lock fails
libxl: