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.You are not allowed to attach a file to this page.
