WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xend issues

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xend issues
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Wed, 15 Jun 2005 13:43:09 -0700
Delivery-date: Wed, 15 Jun 2005 20:42:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Lately, I'm having trouble destroying VMX domains (probably due to bad reference counts) - although all memory associated with the domain is freed up.

Subsequently, if I create a new domain of the same name, the domain id is wrong.

# xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)  Console
Domain-0           0      245    0      1   r----     50.8
ExampleVMXDomain   1        0    0      1   -----     22.5     9601
ExampleVMXDomain   1        0    0      1   -----     22.5     9601

Even the uuid of the two domains is the same in the long listing below.

        -Arun

# xm list --long
(domain
    (id 0)
    (name Domain-0)
    (memory 245)
    (uuid 7a8af663-b55c-46cf-bd24-dc65e3e17a83)
    (maxmem -4)
    (state r----)
    (cpu 0)
    (cpu_time 51.166374782)
    (vcpus 1)
(cpumap (-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0))
    (vcpu_to_cpu 0)
)
(domain
    (id 1)
    (name ExampleVMXDomain)
    (memory 0)
    (uuid ad91cc37-0fb6-4c20-a01c-f38fedb7aafc)
    (maxmem 131204)
    (state -----)
    (cpu 0)
    (cpu_time 22.537481777)
    (vcpus 1)
(cpumap (-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0))
    (vcpu_to_cpu 0)
    (up_time 4798.9793551)
    (start_time 1118863256.58)
    (console
        (status closed)
        (id 0)
        (domain 1)
        (local_port 0)
        (remote_port 0)
        (console_port 9601)
    )
    (devices
        (console
            (status closed)
            (id 0)
            (domain 1)
            (local_port 0)
            (remote_port 0)
            (console_port 9601)
        )
    )
    (config
        (vm
            (name ExampleVMXDomain)
            (memory 128)
            (image
                (vmx
                    (kernel /usr/lib/xen/boot/vmxloader)
                    (root '/dev/hda1 ro')
                    (args
'VNC_VIEWER=143.183.130.223:5501 acpi=off console=ttyS0
1'
                    )
                    (vcpus 1)
                )
            )
            (memmap /etc/xen/mem-map.sxp)
            (device_model /usr/bin/device-model)
            (device_config /etc/xen/xmexample.vmx)
        )
    )
)
(domain
    (id 1)
    (name ExampleVMXDomain)
    (memory 0)
    (uuid ad91cc37-0fb6-4c20-a01c-f38fedb7aafc)
    (maxmem 131204)
    (state -----)
    (cpu 0)
    (cpu_time 22.537481777)
    (vcpus 1)
(cpumap (-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0))
    (vcpu_to_cpu 0)
    (up_time 4799.01007318)
    (start_time 1118863256.58)
    (console
        (status closed)
        (id 0)
        (domain 1)
        (local_port 0)
        (remote_port 0)
        (console_port 9601)
    )
    (devices
        (console
            (status closed)
            (id 0)
            (domain 1)
            (local_port 0)
            (remote_port 0)
            (console_port 9601)
        )
    )
    (config
        (vm
            (name ExampleVMXDomain)
            (memory 128)
            (image
                (vmx
                    (kernel /usr/lib/xen/boot/vmxloader)
                    (root '/dev/hda1 ro')
                    (args
'VNC_VIEWER=143.183.130.223:5501 acpi=off console=ttyS01'
                    )
                    (vcpus 1)
                )
            )
            (memmap /etc/xen/mem-map.sxp)
            (device_model /usr/bin/device-model)
            (device_config /etc/xen/xmexample.vmx)
        )
    )
)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>