[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 6/8] exec: Clean up unnecessary S390 ifdeffe
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH RFC 6/8] exec: Clean up unnecessary S390 ifdeffery |
Date: |
Thu, 13 Jun 2013 18:21:21 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 13/06/2013 03:02, Markus Armbruster ha scritto:
> + } else if (kvm_enabled() && kvm_arch_ram_alloc) {
> + /* some s390/kvm configurations have special constraints */
> + if (mem_path) {
> + fprintf(stderr,
> + "-mem-path not supported with this version of KVM\n");
> + exit(1);
> + }
> + new_block->host = kvm_arch_ram_alloc(size);
> + memory_try_enable_merging(new_block->host, size);
Uh oh, now I see why you wanted the hook as a function pointer. Can you
instead pass the file descriptor to kvm_ram_alloc?
Paolo
- [Qemu-devel] [PATCH RFC 0/8] Guest memory allocation fixes & cleanup, Markus Armbruster, 2013/06/13
- [Qemu-devel] [PATCH RFC 1/8] exec: Fix Xen RAM allocation with unusual options, Markus Armbruster, 2013/06/13
- [Qemu-devel] [PATCH RFC 4/8] s390: Simplify the RAM allocation hook, Markus Armbruster, 2013/06/13
- [Qemu-devel] [PATCH RFC 8/8] pc_sysfw: Fix ISA BIOS init for ridiculously big flash, Markus Armbruster, 2013/06/13
- [Qemu-devel] [PATCH RFC 7/8] exec: Don't abort when we can't allocate guest memory, Markus Armbruster, 2013/06/13