~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/osdep.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-26 13:10:57 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080226131057-s67x6l89mtjw1x9b
Tags: 1:62+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
            int64_t free_space;
114
114
            int ram_mb;
115
115
 
116
 
            extern int ram_size;
 
116
            extern int64_t ram_size;
117
117
            free_space = (int64_t)stfs.f_bavail * stfs.f_bsize;
118
118
            if ((ram_size + 8192 * 1024) >= free_space) {
119
119
                ram_mb = (ram_size / (1024 * 1024));