Attachment '0006-Added-the-archId-parameter-as-last-one-for-the-alloc.patch'

Download

   1 From d6d9fa225d71cd1d9d8bd77a18a880c7a08744f7 Mon Sep 17 00:00:00 2001
   2 From: rudygodoy <rudygodoy@10.20.30.29>
   3 Date: Sat, 6 Aug 2011 00:27:43 -0500
   4 Subject: [PATCH 6/6] Added the archId parameter as last one for the allocate_instance() function.
   5 
   6 ---
   7  node/handlers_kvm.c |    4 ++--
   8  1 files changed, 2 insertions(+), 2 deletions(-)
   9 
  10 diff --git a/node/handlers_kvm.c b/node/handlers_kvm.c
  11 index e82d912..5ad0444 100644
  12 --- a/node/handlers_kvm.c
  13 +++ b/node/handlers_kvm.c
  14 @@ -140,7 +140,7 @@ doRunInstance (	struct nc_state_t *nc,
  15  		//		char *privMac, char *privIp, int vlan, 
  16  		netConfig *netparams,
  17  		char *userData, char *launchIndex, char **groupNames,
  18 -		int groupNamesSize, ncInstance **outInst)
  19 +		int groupNamesSize, ncInstance **outInst, char *archId)
  20  {
  21      ncInstance * instance = NULL;
  22      * outInst = NULL;
  23 @@ -168,7 +168,7 @@ doRunInstance (	struct nc_state_t *nc,
  24                                          PENDING, 
  25                                          meta->userId, 
  26                                          &ncnet, keyName,
  27 -                                        userData, launchIndex, groupNames, groupNamesSize))) {
  28 +                                        userData, launchIndex, groupNames, groupNamesSize, archId))) {
  29          logprintfl (EUCAFATAL, "Error: could not allocate instance struct\n");
  30          return 2;
  31      }
  32 -- 
  33 1.7.3.5

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2011-08-05 05:39:58, 2.0 KB) [[attachment:0003-arch-field-renamed-to-archId-to-maintain-naming-cons.patch]]
  • [get | view] (2011-08-06 05:33:38, 2.3 KB) [[attachment:0005-Added-the-archId-parameter-as-last-one-for-the-get_i.patch]]
  • [get | view] (2011-08-06 05:33:05, 1.3 KB) [[attachment:0006-Added-the-archId-parameter-as-last-one-for-the-alloc.patch]]
  • [get | view] (2011-08-06 05:31:50, 3.4 KB) [[attachment:XML domain generator, definitive]]
  • [get | view] (2011-08-06 05:32:42, 2.3 KB) [[attachment:archId parameter for get_instance_xml]]
  • [get | view] (2011-08-06 04:51:43, 6.1 KB) [[attachment:gen_kvm_libvirt_xml initial verstion -non patch format]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.