AHCI Boot disk?

2012-02-13 Thread Conrad Wood
://wiki.qemu.org/ChangeLog/0.14#IDE_.2F_AHCI -- Conrad Wood (Deputy CTO, Head of Research Innovations) ProfitBricks GmbH Greifswalder Str. 207 D - 10405 Berlin Office: +49 30 51 64 09 21 DDI:+49 30 51 300 021 Email: conrad.w...@profitbricks.com URL:http

Re: AHCI Boot disk?

2012-02-13 Thread Conrad Wood
On Mon, 2012-02-13 at 11:50 +0200, Gleb Natapov wrote: On Mon, Feb 13, 2012 at 09:55:46AM +0100, Conrad Wood wrote: Hello, I am attempting to test AHCI disks and find that I am unable to boot of the disk, even though the disk is seen if I do a network boot. This works: -drive

snapshots in kvm

2011-06-16 Thread Conrad Wood
a consistent snapshost. Images are qcow2 format. Question: What is the reason for enclosing the snapshot in vm_stop() vm_start() ? where would it break if we remove it? Conrad [1] http://marc.info/?l=kvmm=130573381017063w=2 -- Conrad Wood (Deputy CTO, Head of Research Innovations) ProfitBricks

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 08:38 +0200, Gleb Natapov wrote: On Sat, Sep 18, 2010 at 08:27:54PM +0200, Conrad Wood wrote: On Sat, 2010-09-18 at 10:32 -0400, Kevin O'Connor wrote: On Fri, Sep 17, 2010 at 11:39:36PM +0200, Conrad Wood wrote: Hi everyone, I'm currently looking

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 12:46 +0200, Gleb Natapov wrote: [...] But... why does the command info cpus in the monitor report all cpus apart from CPU0 as (halted) ? Because they are halted? Run multiple cpu hogs in the guest and see if cpus will still be halted as reported by monitor. Also

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 13:13 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 01:09:39PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 12:46 +0200, Gleb Natapov wrote: [...] But... why does the command info cpus in the monitor report all cpus apart from CPU0 as (halted

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 13:39 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 01:32:28PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 13:13 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 01:09:39PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 12:46 +0200, Gleb Natapov wrote

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 13:59 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 01:51:29PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 13:39 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 01:32:28PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 13:13 +0200, Gleb Natapov wrote

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 09:26 -0400, Kevin O'Connor wrote: On Sun, Sep 19, 2010 at 08:38:12AM +0200, Gleb Natapov wrote: On Sat, Sep 18, 2010 at 08:27:54PM +0200, Conrad Wood wrote: hm... after upgrading to seabios 0.6.1 and qemu-kvm 0.13.50 (git today) I get: [...] any ideas

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
hm... that's the version I am using und it does not work here ;( the hotplug itself seems to work but they're reported as halted. I told you this is cosmetic. They are working. I agree, the hotplug itself seems to be working! Then it seems to be a local misconfiguration. and if so, I

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 09:38 -0400, Kevin O'Connor wrote: On Sun, Sep 19, 2010 at 03:29:35PM +0200, Conrad Wood wrote: On Sun, 2010-09-19 at 09:26 -0400, Kevin O'Connor wrote: On Sun, Sep 19, 2010 at 08:38:12AM +0200, Gleb Natapov wrote: Known problem in qemu. There was a patch

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 15:50 +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 09:46:21AM -0400, Kevin O'Connor wrote: On Sun, Sep 19, 2010 at 03:40:45PM +0200, Gleb Natapov wrote: halted state is not the way to check for whether cpu is online or offline. cpu may be online but executing

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
[..] Lets establish some terminology to understand each other better: Lets use CPU inserted/ejected to refer to cpu being available/not available to a guest. Lest use CPU online/offline to refer to cpu been used by a guest OS. CPU hot-plug works like this: cpu is inserted (plugged into

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
I need to know if a cpu is currently inserted or ejected. The only way to do that currently is to track it in your management app. The Management App does know which one should be inserted or ejected. I see now way of enforcing it though. This is what I had in mind: (simplified) 1.

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
However after step 7 the guest can turn the cpu online again by issuing echo 1 /sys/devices/.../cpuX/online There will be no /sys/devices/.../cpuX/online in guest after step 7. Well then at least in my version there's a bug, because it still is there and never goes away. (kvm 0.12.5) And

Re: cpu hotplug

2010-09-19 Thread Conrad Wood
On Sun, 2010-09-19 at 12:04 -0400, Kevin O'Connor wrote: On Sun, Sep 19, 2010 at 05:53:47PM +0200, Gleb Natapov wrote: On Sun, Sep 19, 2010 at 05:44:00PM +0200, Conrad Wood wrote: However after step 7 the guest can turn the cpu online again by issuing echo 1 /sys/devices

Re: cpu hotplug

2010-09-18 Thread Conrad Wood
On Sat, 2010-09-18 at 10:32 -0400, Kevin O'Connor wrote: On Fri, Sep 17, 2010 at 11:39:36PM +0200, Conrad Wood wrote: Hi everyone, I'm currently looking into hotplugging CPUs. This exclusively with linux-guests and linux-host. I have found some (conflicting) information about

Re: cpu hotplug

2010-09-18 Thread Conrad Wood
On Sat, 2010-09-18 at 10:32 -0400, Kevin O'Connor wrote: On Fri, Sep 17, 2010 at 11:39:36PM +0200, Conrad Wood wrote: Hi everyone, I'm currently looking into hotplugging CPUs. This exclusively with linux-guests and linux-host. I have found some (conflicting) information about