Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev_path()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Brook
Date: Monday, June 14, 2010 - 3:46 pm

> > > Ok, I can get it down to something like:

Why is this more useful? Canonical addresses should not be helpful. They 
should identify entities within a machine that is already known to be 
consistent. Making them "helpful" just makes them more volatile.
 

The migration code needs to check that the devices are actually compatible. 
I'd expect this to require much more than just the device name. What you 
actually need is more like "An e1000 with 64k eeprom, fast ethernet PHY, and 
frobnitz B". In fact what you really want to do is transfer the device tree 
(including properties), and create the machine from scratch, not load state 
into a pre-supplied device tree.


Not BAR addresses, the actual PCI device addresses. Devices on the PCI bus are 
addressed by device and function.  This is guest visible.  The device part of 
this address corresponds to the physical slot, which typically effects IRQ 
routing (amongst other things).  If you arbitrarily move a device from slot A 
to slot B then this will have catastrophic effects on a running machine.

Paul
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 1/5] qdev: Create qdev_get_dev_path(), Alex Williamson, (Sun Jun 13, 10:51 pm)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Sun Jun 13, 11:39 pm)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Paul Brook, (Mon Jun 14, 3:46 pm)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Tue Jun 15, 1:47 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Tue Jun 15, 4:42 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Tue Jun 15, 6:07 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Tue Jun 15, 6:16 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Wed Jun 16, 1:23 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Wed Jun 16, 6:02 am)
Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev ..., Markus Armbruster, (Fri Jun 18, 7:03 am)