~ressu/+junk/xen-debian

« back to all changes in this revision

Viewing changes to tools/flask/utils/loadpolicy.c

  • Committer: sami at haahtinen
  • Author(s): Bastian Blank
  • Date: 2011-03-17 14:12:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: sami@haahtinen.name-20110317141245-owgqox0l0p3g5857
Tags: 4.1.0~rc6-1
* New upstream release candidate.
* Build documentation using pdflatex.
* Use python 2.6. (closes: #596545)
* Fix lintian override.
* Install new tools: xl, xenpaging.
* Enable blktap2.
  - Use own md5 implementation.
  - Fix includes.
  - Fix linking of blktap2 binaries.
  - Remove optimization setting.
* Temporarily disable hvmloader, wants to download ipxe.
* Remove xenstored pid check from xl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    void *polMemCp = NULL;
36
36
    struct stat info;
37
37
    int ret;
38
 
    int xch = 0;
 
38
    xc_interface *xch = 0;
39
39
 
40
40
    if (argCnt != 2)
41
41
        usage(argCnt, args);
70
70
        goto cleanup;
71
71
    }
72
72
 
73
 
    xch = xc_interface_open();
74
 
    if ( xch < 0 )
 
73
    xch = xc_interface_open(0,0,0);
 
74
    if ( !xch )
75
75
    {
76
76
        fprintf(stderr, "Unable to create interface to xenctrl: %s\n",
77
77
                strerror(errno));