xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Anthony Perard <anthony.perard@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: 4.7 qemu regression: HVM guests fail to boot from xvda
Date: Thu, 2 Jun 2016 14:06:40 +0200	[thread overview]
Message-ID: <20160602120640.GA21686@aepfle.de> (raw)
In-Reply-To: <20160602114916.GV5160@citrix.com>

On Thu, Jun 02, Wei Liu wrote:

> On Wed, Jun 01, 2016 at 11:40:51PM +0200, Olaf Hering wrote:
> > tool_ver  vdev_str  qemu   format  usable  bootable
> > xen-4.5     xvd     qmain   qcow2   yes     SUSE:no, staging:yes
> What does "staging" mean?

That should have been staging-4.5.
Some change between our 4.5.1 and 4.5.2 based toolstack broke xvd booting.

> > xen-4.6     xvd     qmain    raw    yes     yes
> > xen-4.6     xvd     qmain   qcow2   yes     yes

> > xen-4.7     xvd     qmain    raw    yes     no
> > xen-4.7     xvd     qmain   qcow2   yes     no

> So the last column only apply to xenlinux kernel?

The relevant row is 'bootable', thats where the regression is. It means
'BIOS finds a disk, can access it and run bootloader'. In my testing the
BIOS did not see a disk, just the 'cdrom' had in domU.cfg as well.

'usable' means a PV driver may actually access the given device. This is
always the case, except qemu-trad has no qcow2 support.

> I expect pvops to be all "yes" because it doesn't use vdev_str. I also
> expect freebsd to work because it parses vbd number and translates that
> to freebsd-speak device identifier.

This list has no column 'makes use of vdev_str' because the list does not
describe domU OS behaviour. ;-)

See my other mail regarding domU os. If we leave xen-4.7 as is then
domU.cfg has to be changed from 'xvd' to 'hd' to allow BIOS boot again.
This will change things for (at least) xenlinux based kernels because
the kernel device name change. I think this needs adjustments to
/boot/grub/device.map and /etc/default/grub_installdevice. The latter is
an odd SUSE thing, describing where grub2 should write things, its
likely similar to device.map.

fstab and root= can be changed to use on-disk identifiers like UUID or
LABEL to work with either xvd or hd. LVM or raid might be unaffected.

Eventually there are more places which need adjustment, like autoinstall
profiles.


Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-06-02 12:06 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 20:42 4.7 qemu regression: HVM guests fail to boot from xvda Olaf Hering
2016-05-31 11:02 ` George Dunlap
2016-05-31 11:16   ` Olaf Hering
2016-05-31 11:32     ` George Dunlap
2016-05-31 11:41       ` Olaf Hering
2016-05-31 12:00         ` George Dunlap
2016-05-31 12:04           ` Olaf Hering
2016-06-01 13:17             ` Olaf Hering
2016-06-01 21:40               ` Olaf Hering
2016-06-02 11:49                 ` Wei Liu
2016-06-02 12:06                   ` Olaf Hering [this message]
2016-05-31 12:15           ` Jan Beulich
2016-06-01  9:48           ` Wei Liu
2016-06-01 13:34             ` Olaf Hering
2016-06-01 14:11               ` Wei Liu
2016-06-01 14:32                 ` Olaf Hering
2016-06-01 15:36           ` Ian Jackson
2016-06-03 10:13             ` George Dunlap
2016-06-03 11:20               ` Olaf Hering
2016-06-03 11:27                 ` George Dunlap
2016-06-03 11:45                   ` Ian Jackson
2016-06-06 10:39                     ` George Dunlap
2016-06-06 10:52                       ` Ian Jackson
2016-06-06 11:43                         ` George Dunlap
2016-06-06 12:49                     ` George Dunlap
2016-06-07 14:08                     ` George Dunlap
2016-06-07 14:27                       ` Olaf Hering
2016-06-08 10:17                       ` Ian Jackson
2016-06-07 19:06                     ` Olaf Hering
2016-06-08 10:18                       ` Ian Jackson
2016-06-08 10:23                         ` George Dunlap
2016-06-08 10:30                           ` Ian Jackson
2016-06-08 10:49                             ` George Dunlap
2016-06-08 11:13                               ` Olaf Hering
2016-06-08 15:56                                 ` Konrad Rzeszutek Wilk
2016-06-03 11:50                   ` Olaf Hering
2016-05-31 12:10       ` Jan Beulich
2016-05-31 13:41         ` George Dunlap
2016-05-31 14:10           ` Jan Beulich
2016-05-31 16:15     ` Konrad Rzeszutek Wilk
2016-06-08 11:38 ` Wei Liu
2016-06-08 12:04   ` Olaf Hering
2016-06-08 12:09     ` Wei Liu

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=20160602120640.GA21686@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=anthony.perard@citrix.com \
    --cc=george.dunlap@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).