From: George Dunlap <george.dunlap@eu.citrix.com>
To: xen-devel@lists.xen.org
Cc: Wei Liu <wei.liu2@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCH] Revert "xen-hvm: increase maxmem before calling xc_domain_populate_physmap"
Date: Wed, 10 Jun 2015 14:21:17 +0100 [thread overview]
Message-ID: <557839CD.6070501@eu.citrix.com> (raw)
In-Reply-To: <1433940913-19425-1-git-send-email-george.dunlap@eu.citrix.com>
On 06/10/2015 01:55 PM, George Dunlap wrote:
> This reverts commit c1d322e6048796296555dd36fdd102d7fa2f50bf.
>
> The original commit fixes a bug when assigning a large number of
> devices which require option roms to a guest. (One known
> configuration that needs extra memory is having more than 4 emulated
> NICs assigned. Three or fewer NICs seems to work without this
> functionality.)
>
> However, by unilaterally increasing maxmem, it introduces two
> problems.
>
> First, now libxl's calculation of the required maxmem during migration
> is broken -- any guest which exercised this functionality will fail on
> migration. (Guests which have the default number of devices are not
> affected.)
Just to make it clear what the situation is (to the best of my knowledge):
QEMU 2.2 and before:
* A VM assigned more than 3 NICs would fail during qemu start-up
* A VM assigned 3 or fewer NICs can be created and migrated successfully.
QEMU 2.3 (most recent release):
* A VM assigned more than 3 NICs can be created successfully, but not
migrated afterwards
* A VM assigned 3 or fewer NICs can be both created and migrated.
(Stefano has done a few tests to verify this and it seems to be accurate.)
It's unlikely that the "proper fix" descibed in this mail will be ready
for 2.4, so if this patch is accepted, 2.4 will look like 2.2.
-George
next prev parent reply other threads:[~2015-06-10 13:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 12:55 [PATCH] Revert "xen-hvm: increase maxmem before calling xc_domain_populate_physmap" George Dunlap
2015-06-10 13:21 ` George Dunlap [this message]
2015-06-11 10:56 ` Ian Campbell
2015-06-16 11:33 ` Wei Liu
2015-06-16 15:51 ` Stefano Stabellini
2015-06-16 15:54 ` Stefano Stabellini
2015-06-16 16:58 ` Wei Liu
2015-06-16 15:56 ` George Dunlap
2015-06-16 16:49 ` Stefano Stabellini
2015-06-16 16:58 ` Ian Campbell
2015-06-16 16:57 ` Ian Campbell
2015-06-16 17:01 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557839CD.6070501@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.campbell@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.