autotest/autotest — Issue #198: boottool/grubby: figure out how/if xen is supported
Author: clebergnu
Created: 2012-02-24 15:40:37+00:00
State: open

On a system with Xen and grub, with the following entries:

```
# grep ^title /etc/grub.conf
title Fedora (2.6.41.4-1.fc15.x86_64)
title Fedora (2.6.41.1-1.fc15.x86_64)
title Fedora (2.6.40.6-0.fc15.x86_64)
title Fedora Xen Dom0 (2.6.40.6-0.fc15.x86_64)
title ThatDreadedThing
```

The parsing of xen enabled entry (number 3) shows information that is not good for boottool use:

```
# grubby --grub --info=3
boot=/dev/sda
index=3
kernel=/xen.gz
index=0
kernel=/vmlinuz-2.6.41.4-1.fc15.x86_64
```

Notice the leading `index` and `kernel` lines and lack of other common lines.