All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: libxl: xl list  bugs
Date: Thu, 23 Sep 2010 13:32:49 +0200	[thread overview]
Message-ID: <201009231332.50481.Christoph.Egger@amd.com> (raw)


Hi!

I can reproduce several bugs with xl list.
(I commented out the 'exit(1);' right after the "Neither kernel nor bootloader 
specified" message to get the output)

I call 'xl list -l 1' twice:

# xl list -l 1
Neither kernel nor bootloader specified
(domain
        (domid 1)
        (domain_create_info)
        (hvm 0)
        (hap 1)
        (oos 1)
        (ssidref 0)
        (name test)
        (uuid a42db8be-fec6-df11-b4b5-00e081806fbe)
        (cpupool Pool-0 (0))
        (xsdata (null))
        (platformdata (null))
        (domain_build_info)
        (max_vcpus 1)
        (tsc_mode 0)
        (max_memkb 32768)
        (target_memkb 32768)
        (nomigrate 0)
        (image
                (linux 0)
                        (kernel (null))
                        (cmdline )
                        (ramdisk (null))
                )
        )
)
# xl list -l 1 
Neither kernel nor bootloader specified
(domain
        (domid 1)
        (domain_create_info)
        (hvm 0)
        (hap 1)
        (oos 1)
        (ssidref 0)
        (name test)
        (uuid 21b30ed1-fec6-df11-b4b5-00e081806fbe)
        (cpupool Pool-0 (0))
        (xsdata (null))
        (platformdata (null))
        (domain_build_info)
        (max_vcpus 1)
        (tsc_mode 0)
        (max_memkb 32768)
        (target_memkb 32768)
        (nomigrate 0)
        (image
                (linux 0)
                        (kernel (null))
                        (cmdline )
                        (ramdisk (null))
                )
        )
)


Note, the uuid is different. Also having (hvm 0) and (hap 1)
at the same time is wrong (A pv guest uses hap?).

When I call 'xl list -v' twice, the uuid is the same
and matches the uuid shown with 'xm list -l 1'.

# xl list -v
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   512     1     r-----     
323.6 00000000-0000-0000-0000-000000000000
HVM64-NetBSD                                 1  3075     4     -b----      
87.5 6c4717a6-e74a-c5db-c83f-7fd4e9e242d9
brandon# xl list -v 
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0   512     1     r-----     
323.7 00000000-0000-0000-0000-000000000000
HVM64-NetBSD                                 1  3075     4     -b----      
87.5 6c4717a6-e74a-c5db-c83f-7fd4e9e242d9

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

                 reply	other threads:[~2010-09-23 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201009231332.50481.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /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.