Displaying 20 results from an estimated 26 matches for "boot_device".
Did you mean:
root_device
2012 Oct 15
1
[QEMU PATCH v4] create struct for machine initialization arguments
...machine init function;
- More easily make mechanical changes involving the machine init
functions in the future;
- Let machine initialization forward the init arguments to other
functions more easily.
This change was half-mechanical process: first the struct was added with
the local ram_size, boot_device, kernel_*, initrd_*, and cpu_model local
variable initialization to all functions. Then the compiler helped me
locate the local variables that are unused, so they could be removed.
---
Changes v3 -> v4:
- Rebase against latest qemu.git master, solved conflicts at
hw/xilinx_zynq.c
Changes...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...always)"
+ PXE_ALWAYS_OPTION_VALUE = "pxe_always"
HD_OPTION_LABEL = "Boot from HD"
HD_OPTION_VALUE = "hd"
@@ -264,7 +267,9 @@ class Vm < ActiveRecord::Base
end
def provisioning_and_boot_settings
if provisioning == nil
- if boot_device==BOOT_DEV_NETWORK
+ if boot_device==BOOT_DEV_NETWORK_ALWAYS
+ PXE_ALWAYS_OPTION_VALUE
+ elsif boot_device==BOOT_DEV_NETWORK
PXE_OPTION_VALUE
elsif boot_device==BOOT_DEV_HD
HD_OPTION_VALUE
@@ -464,7 +469,9 @@ class Vm < ActiveRecord::Base
self.stor...
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
..."
for var in nodename ifacename use_dhcp start_dnsmasq workdir network xmlfile; do
@@ -363,7 +364,7 @@ configure_node () {
local hdfile=""
local cdfile=$5
local args=$6
- local nodefile=$(mktemp)
+ local nodefile=$WORKDIR/$nodename.xml
if [ -z "${boot_device}" ]; then boot_device="hd"; fi
if [ -z "${memory}" ]; then memory="524288"; fi
@@ -375,7 +376,7 @@ configure_node () {
# create the hard disk file
if [ -n "${hdsize}" ]; then
- hdfile=$(mktemp)
+ hdfile=$WORKDIR/$nodename-h...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...the local hard disk (if blank then no disk is used)
+# $6 - the cdrom disk (if blank then no cdrom is used)
+# $7 - the network bridge (if blank then 'default' is used)
+# $8 - optional arguments
+define_node () {
+ local filename=$1
+ local nodename=$2
+ local memory=$3
+ local boot_device=$4
+ local harddrive=$5
+ local cddrive=$6
+ local bridge=${7-default}
+ local options=${8-}
+ local result=""
+
+ # flexible options
+ # define defaults, then allow the caller to override them as needed
+ local arch=$(uname -i)
+ local serial="true"
+...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...nt => :destroy
has_many :smart_pool_tags, :as => :tagged, :dependent => :destroy
has_many :smart_pools, :through => :smart_pool_tags
@@ -45,8 +45,8 @@ class Vm < ActiveRecord::Base
validates_presence_of :uuid, :description, :num_vcpus_allocated,
:boot_device, :memory_allocated_in_mb,
- :memory_allocated, :vnic_mac_addr,
- :vm_resource_pool_id
+ :memory_allocated, :vm_resource_pool_id
+
validates_format_of :uuid,
:with => %r([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}...
2006 Jun 29
2
x86_64 platform : addresses type
Several addresses are actually on 32 bits, such as in
typedef struct {
u32 flags;
u32 mem_lower;
u32 mem_upper;
u32 boot_device;
u32 cmdline;
u32 mods_count;
u32 mods_addr;
union {
aout_symbol_table_t aout_sym;
elf_section_header_table_t elf_sec;
} u;
u32 mmap_length;
u32 mmap_addr;
} multiboot_info_t
However, on x86_64 using gcc, addresses as well as unsigned long are 64
bits...
2010 Apr 04
1
[PATCH] mboot: set boot device
...oot.c
@@ -224,6 +224,14 @@ int main(int argc, char *argv[])
mboot_apm();
mboot_syslinux_info();
+ /* Set boot device info */
+ const union syslinux_derivative_info *sdi;
+ sdi = syslinux_derivative_info();
+ if (sdi->c.filesystem != SYSLINUX_FS_PXELINUX) {
+ mbinfo.boot_device = (sdi->disk.drive_number << 24) | 0xffffff;
+ mbinfo.flags |= MB_INFO_BOOTDEV;
+ }
+
if (opt.solaris)
mboot_solaris_dhcp_hack();
2008 Apr 08
6
lucreate error: Cannot determine the physical boot device ...
...-n B85 but also without
success and got this:
# lucreate -C c0d0s0 -n B85
ERROR: No such file or directory: cannot stat <c0d0s0>
ERROR: cannot use <c0d0s0> as a boot device because it is not a block device
Usage: lucreate -n BE_name [ -A BE_description ] [ -c BE_name ]
[ -C ( boot_device | - ) ] [ -f exclude_list-file [ -f ... ] ] [ -I ]
[ -l error_log-file ] [ -M slice_list-file [ -M ... ] ]
[ -m mountPoint:devicePath:fsOptions [ -m ... ] ] [ -o out_file ]
[ -s ( - | source_BE_name ) ] [ -x exclude_dir/file [ -x ... ] ] [ -X ]
[ -y include_dir/file...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...uuid => 'f43b298c-1e65-46fa-965f-0f6fb9ffaa10',
- :description => 'descript',
- :num_vcpus_allocated => 4,
- :memory_allocated => 262144,
- :vnic_mac_addr => 'AA:BB:CC:DD:EE:FF',
- :boot_device => 'network' }
+ post :create, :vm => { :uuid => 'f43b298c-1e65-46fa-965f-0f6fb9ffaa10',
+ :vm_resource_pool_id => @vm_pool.id,
+ :description => 'descript',
+ :num_vcpus_allocated => 4,
+ :memo...
2011 Jul 21
0
Templates and self-knowledge
...rete example. Suppose I have a template
"standard_profile.erb" which looks like this:
install_type initial_install
>
> system_type standalone
>
> partitioning explicit
>
> <% if zfs_root == "undef" -%>
>
> fdisk all solaris all
>
> boot_device any preserve
>
> filesys rootdisk.s1 16384 swap
>
> filesys rootdisk.s0 40960 /
>
> filesys rootdisk.s7 free /export
>
> <% elsif zfs_root == "c3s" %>
>
> pool rootpool auto 16g 16g mirror c3t0d0s0 c3t4d0s0
>
> fdisk c3t0d0...
2010 Aug 25
2
[PATCH] Virtio support
....mac, :interface => net_device })
+ net_interfaces.push({ :mac => nic.mac, :interface => net_device, :virtio => nic.virtio })
}
xml = create_vm_xml(db_vm.description, db_vm.uuid, db_vm.memory_allocated,
db_vm.memory_used, db_vm.num_vcpus_allocated, db_vm.boot_device,
- net_interfaces, storagedevs)
+ db_vm.virtio, net_interfaces, storagedevs)
@logger.debug("XML Domain definition: #{xml}")
--
1.7.2.1
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
....rb
+++ b/src/app/models/vm.rb
@@ -464,6 +464,8 @@ class Vm < ActiveRecord::Base
self.storage_volumes=@storage_volumes_pending
@storage_volumes_pending = []
end
+ errors.add("nics", "must specify at least one network if pxe booting off a network") unless boot_device == BOOT_DEV_NETWORK && nics.size > 0
+
end
end
diff --git a/src/app/views/vm/_form.rhtml b/src/app/views/vm/_form.rhtml
index 5f519fc..39ce55e 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -51,6 +51,9 @@
<div class="vm_form_section"...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...if image_volume
+
+ @logger.debug("Connecting volumes: #{volumes}")
storagedevs = connect_storage_pools(node, volumes)
# determine if vm has been assigned to physical or
@@ -370,6 +387,8 @@ class TaskOmatic
db_vm.memory_used, db_vm.num_vcpus_allocated, db_vm.boot_device,
db_vm.vnic_mac_addr, net_device, storagedevs)
+ @logger.debug("XML Domain definition: #{xml}")
+
result = node.domainDefineXML(xml.to_s)
raise "Error defining virtual machine: #{result.text}" unless result.status == 0
@@ -506,17 +525,18 @@ class...
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...ovirtadmin_root
+testuser_corp_com_qa_pool:
+ role: user
+ uid: testuser
+ pool: corp_qa_vmpool
diff --git a/src/test/fixtures/vms.yml b/src/test/fixtures/vms.yml
index 69b1c2b..b2711b2 100644
--- a/src/test/fixtures/vms.yml
+++ b/src/test/fixtures/vms.yml
@@ -65,6 +65,19 @@ foobar_prod1_vm:
boot_device: cdrom
host: fedoraworkstation_foobar_com
vm_resource_pool: corp_com_production_vmpool
+corp_com_qa_postgres_vm:
+ uuid: f6059569-a81f-4728-bb61-6f16b1c594e7
+ description: corp.com qa postgres vm
+ num_vcpus_allocated: 2
+ num_vcpus_used: 2
+ memory_allocated: 262144
+ memory_used: 131...
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with
multiple networks and vice-versa. updated patchset so
as to be applicable against current oVirt server HEAD
these patches may be applied in any order, they all
need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server
frontend, backend, and tests components, permitting vms
to be associated with multiple networks and vice versa.
Also included are two patches which are required for the frontend
bits; a patch adding collapsable sections to the vm form, which
in itself depends on the second patch that provides default values
for the cpu and memory vm table fields
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order:
* [PATCH server] Add svc_vm_actions method to VmService.
* [PATCH server] Cloud UI layer to initiate actions on vms.
The service layer patch should work fine on its own (and not break
anything), but cloud patch relies on service being there.
2006 Jul 13
3
[PATCH] Update new qemu-dm to spawn vncviewer
...VNC_BASE_PORT 5900
+
const char *bios_dir = CONFIG_QEMU_SHAREDIR;
char phys_ram_file[1024];
void *ioport_opaque[MAX_IOPORTS];
@@ -121,6 +123,7 @@
int bios_size;
static DisplayState display_state;
int nographic;
+int vncviewer;
const char* keyboard_layout = NULL;
int64_t ticks_per_sec;
int boot_device = ''c'';
@@ -4801,6 +4804,7 @@
#endif
"-loadvm file start right away with a saved state (loadvm in monitor)\n"
"-vnc display start a VNC server on display\n"
+ "-vncviewer start a vncviewer process for this domain\n"...