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

« back to all changes in this revision

Viewing changes to qemu/vl.c

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-11-15 02:21:55 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115022155-pxoxb8kfcrkn72mi
Tags: 1:52+dfsg-0ubuntu1
* New upstream release.
* 08_default_tdf.patch
  - Make -tdf the default and add a -no-tdf option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8664
8664
                    fprintf(stderr, "Could not create KVM context\n");
8665
8665
                    exit(1);
8666
8666
            }
 
8667
#ifdef KVM_CAP_USER_MEMORY
 
8668
{
 
8669
            int ret;
 
8670
 
 
8671
            ret = kvm_qemu_check_extension(KVM_CAP_USER_MEMORY);
 
8672
            if (ret) {
 
8673
                phys_ram_base = qemu_vmalloc(phys_ram_size);
 
8674
                if (!phys_ram_base) {
 
8675
                        fprintf(stderr, "Could not allocate physical memory\n");
 
8676
                        exit(1);
 
8677
                }
 
8678
            }
 
8679
}
 
8680
#endif
8667
8681
    } else {
8668
8682
            phys_ram_base = qemu_vmalloc(phys_ram_size);
8669
8683
            if (!phys_ram_base) {