WO2014209286A1 - Reconfiguration with virtual machine switching - Google Patents

Reconfiguration with virtual machine switching Download PDF

Info

Publication number
WO2014209286A1
WO2014209286A1 PCT/US2013/047650 US2013047650W WO2014209286A1 WO 2014209286 A1 WO2014209286 A1 WO 2014209286A1 US 2013047650 W US2013047650 W US 2013047650W WO 2014209286 A1 WO2014209286 A1 WO 2014209286A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
accelerator
map
processor
trigger
Prior art date
Application number
PCT/US2013/047650
Other languages
French (fr)
Inventor
Ezekiel Kruglick
Original Assignee
Empire Technology Development, Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Empire Technology Development, Llc filed Critical Empire Technology Development, Llc
Priority to PCT/US2013/047650 priority Critical patent/WO2014209286A1/en
Priority to US14/233,848 priority patent/US9619265B2/en
Priority to CN201380077736.2A priority patent/CN105393218B/en
Publication of WO2014209286A1 publication Critical patent/WO2014209286A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation

Definitions

  • multiple processor cores may be included in a single integrated circuit die or on multiple integrated circuit dies that are arranged in a single chip package.
  • a cache may be used to store data for access by one or more of the processor cores.
  • An accelerator may be a special purpose processor focused on one or more applications.
  • the methods may include detecting a trigger.
  • the trigger may indicate a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine.
  • the methods may include, in response to detecting the trigger, selecting a programmable circuit and a program for the programmable circuit, where the programmable circuit is associated with the second virtual machine.
  • the methods may further include generating a write command to write the program to the programmable circuit.
  • the devices may include a memory, a switch detector, and a second processor.
  • the switch detector may be effective to detect a trigger.
  • the trigger may indicate that a command has been sent to a first processor to switch from execution of a first virtual machine to a second virtual machine.
  • the second processor may be configured to be in communication with the memory and the switch detector.
  • the second processor may be effective to detect the trigger.
  • the second processor may be effective to identify an accelerator and accelerator map for the programmable circuit associated with the second virtual machine.
  • the second processor may be effective to generate a write command to write the accelerator map to the accelerator.
  • the systems may include a first processor, a virtual machine manager, a programmable circuit, and a reconfiguration device.
  • the virtual machine manager may be effective to send a command to the first processor to switch from execution of a first virtual machine to a second virtual machine.
  • the virtual machine manager may further be effective to generate a trigger in response to the command.
  • the reconfiguration device may include a memory, a switch detector, and a second processor.
  • the second processor may be effective to detect the trigger.
  • the second processor may be effective to identify the programmable circuit and a map associated with the second virtual machine.
  • the second processor may be effective to generate a write command to write the map to the programmable circuit.
  • Fig. 1 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 2 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 3 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 4 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 5 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 6 depicts a flow diagram for an example process for implementing reconfiguration with virtual machine switching
  • Fig. 7 illustrates a computer program product that can be utilized to implement reconfiguration with virtual machine switching
  • Fig. 8 is a block diagram illustrating an example computing device that is arranged to implement reconfiguration with virtual machine switching
  • This disclosure is generally drawn, inter alia, to methods, apparatus, systems, devices, and computer program products related to reconfiguration with virtual machine switching.
  • An accelerator reconfiguration device may detect a trigger.
  • the trigger may indicate that a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine.
  • the reconfiguration device may identify a programmable circuit and a program for the programmable circuit associated with the second virtual machine.
  • the reconfiguration device may further generate a write command to write the program to the programmable circuit.
  • FIG. 1 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein.
  • An example system 100 may include a processor core 108, a programmable circuit such as an accelerator 102, a
  • programmable circuit such as an accelerator 104, a programmer such as an accelerator programmer 112, a virtual machine manager 120 and/or an accelerator reconfiguration device 116 all arranged in communication with one another.
  • Accelerator programmer 112 may be a dedicated unit or a general purpose processor.
  • Processor core 108 may include a memory 106 effective to store information that may be used by processor core 108 during operation. Accelerators 102 or 104 may be configured or reconfigured by a map 114 to be operable to execute a particular application or code.
  • processor core 108, reconfigurable accelerators 102, 104, accelerator programmer 112, virtual machine manager 120 and/or an accelerator reconfiguration device 116 may be located on the same die 110.
  • one or more of processor core 108, reconfigurable accelerators 102, 104, accelerator programmer 112, virtual machine manager 120 and/or an accelerator reconfiguration device 116 may be located on different dies.
  • Accelerator reconfiguration device 116 may be implemented as software, hardware, or a combination of software and hardware. Accelerator reconfiguration device 116 may be part of virtual machine manager 120. Processor core 108 may be configured to use one or more of reconfigurable accelerator 102, 104 to perform operations or tasks..
  • Accelerator programmer 112 may include accelerator maps 114.
  • Accelerator maps 114 may correspond to one or more programs for reconfigurable accelerators 102, 104. Accelerator maps 114 may include binary data that may be streamed into gates of reconfigurable accelerators. Accelerator programmer 112 may be configured to program reconfigurable accelerators 102, 104 based on accelerator maps 114.
  • Accelerator programmer 112 may be configured to program
  • accelerator maps 114 may be effective to define states of gates or switches in an FPGA (field programmable gate array), EEPROM (electrically erasable
  • processor core 108 may control accelerator programmer 112 to load a requested accelerator map 114 into reconfigurable accelerator 102, 104 based on an execution queue.
  • virtual machine manager 120 may send a command to processor core 108 to implement a first virtual machine. After a period of time, virtual machine manager 120 may send a switch command 142 to processor core 108 to implement a second virtual machine.
  • Virtual machine manager 120 may be, for example, a hypervisor.
  • switch command 142 may be effective to implement a context switch in processor core 120 or a world switch in processor core 120.
  • processor core 108 may stop processing instructions that correspond to the first virtual machine and may start processing instructions that correspond to the second virtual machine.
  • a state of processor core 108 may remain unaltered.
  • the state of processor core 108 may correspond to the state registers, buffers, caches etc. of processor core 108.
  • Context switching may be used in situations where resources are shared between operations and those resources modify user memory but not low level system state.
  • Virtual machine manager 120 may be used to implement a world switch in situations where a virtual machine being implemented by processor core 108 requests access to low level system states. In world switching, processing states may be captured and saved and then replaced with a saved state of another virtual machine or "world”.
  • virtual machine manager 120 may be configured to send switch command 142 to processor core 108.
  • Switch command 142 may be a command to processor core 108 to switch from a first virtual machine to a second virtual machine.
  • Switch command 142 may be, for example, a world switch command or a context switch command
  • information in registers and queues of processor core 108, and information regarding states, and other processor core information may be saved by virtual machine manager 120 and stored in VMM memory 118. Prior information relating to the second virtual machine may be transferred from VMM memory 118 to processor core 108 by virtual machine manager 120.
  • Accelerator reconfiguration device 116 may be configured to detect switch command 142.
  • Accelerator reconfiguration device 116 may further be configured to reconfigure one or more of reconfigurable accelerators 102, 104 in response detecting switch command 142.
  • FIG. 2 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 2 that are labeled identically to components of Fig. 1 will not be described again for the purposes of clarity.
  • accelerator programmer 112 may load map 224 to reconfigurable accelerator 102. Accelerator programmer 112 may also load map 226 to
  • reconfigurable accelerator 104 When accelerator programmer 112 loads maps 224, 226 to reconfigurable accelerators 102, 104, a map copy 228, that includes a copy of map 224 and/or 226, may be sent to accelerator reconfiguration device 116.
  • virtual machine manager 120 may also send a trigger 222 to accelerator reconfiguration device 116.
  • Trigger 222 may indicate that virtual machine manager 120 has sent switch command 142 to processor core 108.
  • accelerator reconfiguration device 116 may send a write command 238 to an appropriate reconfigurable accelerator 102, 104.
  • Write command 238 may be a command to write the map in map copy 228 to an applicable reconfigurable accelerator 102, 104.
  • Reconfiguration memory 336 may be adapted to store active accelerator maps 330 and/or virtual machine to accelerator relationships data 332.
  • accelerator reconfiguration device 116 receives map copy 228, copies of maps for reconfigurable accelerators 102, 104 may be stored in active accelerator maps 330.
  • Processor 340 may determine an active virtual machine at a time when maps 224, 226 are sent to reconfigurable accelerators 102, 104.
  • a program executing within a virtual machine may recognize accelerator maps that are active.
  • Processor 340 may store an association between the active virtual machine and active accelerator maps 224, 226 in virtual machine to accelerator relationships data 332.
  • Virtual machine to accelerator relationships data 332 may include a table identifying relationships between virtual machines, accelerators, and accelerator maps.
  • Virtual machine switch detector 334 may be configured to detect switch command 142 such as by detecting trigger 222.
  • processor 340 may identify the particular virtual machine identified in switch command 142.
  • trigger 222 may be a signal sent from virtual machine manager 120 and may identify the particular virtual machine in switch command 142.
  • Processor 340 may then analyze virtual machine to accelerator relationships data 332 to identify a particular reconfigurable accelerator associated with the particular virtual machine.
  • Processor 340 may also identify the particular accelerator map from active accelerator maps 330 associated with the particular virtual machine.
  • Processor 340 may generate write command 238 to write the particular accelerator map to the particular reconfigurable accelerator.
  • processor 340 may identify which virtual machine is under execution by processor core 108. For example, processor 340 may communicate with virtual machine manager 120 and/or processor core 108 to identify the virtual machine under execution. Alternatively, virtual machine manager 120 may send a signal, such as trigger 222, to accelerator reconfiguration device 116 indicating what virtual machine is under execution. Processor 340 may then update virtual machine to accelerator relationships data 332 to associate the virtual machine under execution with the corresponding accelerator and map.
  • a direct memory access environment may be used to wall off location ranges in memory 106 so that those ranges belong to particular virtual machines and are inaccessible to other virtual machines.
  • Virtual machine to accelerator relationship data 332 may store associations between virtual machines and memory location ranges.
  • Processor 340 may then analyze virtual machine to accelerator relationship data 332 and detect that processor core 108 has switched to executing a different virtual machine based upon memory locations being accessed. For example, a first virtual machine may be associated memory locations 1 through 5 of memory 106.
  • a second virtual machine may be associated with memory locations 6 through 10 in memory 106.
  • Virtual machine to accelerator relationship data 332 may be configured to store indications of a virtual machine, an associated accelerator, a map, and a range of memory locations in memory 106.
  • Fig. 4 illustrates an example system that can be utilized to implement accelerator reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 4 that are labeled identically to components of Figs. 1, 2 and 3 will not be described again for the purposes of clarity.
  • a system in accordance with the disclosure may be able to allow virtual machines to effectively work with relevant reconfigurable accelerators.
  • Virtual machines may be prevented from working with accelerators associated with, or configured for, other virtual machines.
  • Security may be improved in that a virtual machine may avoid working with a processor with an accelerator used by a prior virtual machine.
  • processor 804 may be of any type including but not limited to a microprocessor ( ⁇ ), a microcontroller ( ⁇ ), a digital signal processor (DSP), or any combination thereof.
  • Processor 804 may include one more levels of caching, such as a level one cache 810 and a level two cache 812, a processor core 814, and registers 816.
  • An example processor core 814 may include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP Core), or any combination thereof.
  • Processor 804 may include a programmable circuit 817 such as reconfigurable accelerators 102 and/or 104.
  • An example memory controller 818 may also be used with processor 804, or in implementations memory controller 818 may be an internal part of processor
  • the network communication link may be one example of a

Abstract

Technologies are generally described for systems and methods for reconfiguring a programmable circuit. An accelerator reconfiguration device may detect a trigger. The trigger may indicate that a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine. In response to detecting the trigger, the reconfiguration device may identify a programmable circuit and program for the programmable circuit associated with the second virtual machine. The reconfiguration device may further generate a write command to write the program to the programmable circuit.

Description

RECONFIGURATION WITH VIRTUAL MACHINE
SWITCHING
BACKGROUND
[0001] Unless otherwise indicated herein, the materials described in this section are not prior art to the claims in this application and are not admitted to be prior art by inclusion in this section.
[0002] In multi-core architectures, multiple processor cores may be included in a single integrated circuit die or on multiple integrated circuit dies that are arranged in a single chip package. A cache may be used to store data for access by one or more of the processor cores. An accelerator may be a special purpose processor focused on one or more applications.
SUMMARY
[0003] In some examples, methods of reconfiguring a programmable circuit are generally described. The methods may include detecting a trigger. The trigger may indicate a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine. The methods may include, in response to detecting the trigger, selecting a programmable circuit and a program for the programmable circuit, where the programmable circuit is associated with the second virtual machine. The methods may further include generating a write command to write the program to the programmable circuit.
[0004] In some examples, devices effective to reconfigure a programmable circuit are generally described. The devices may include a memory, a switch detector, and a second processor. The switch detector may be effective to detect a trigger. The trigger may indicate that a command has been sent to a first processor to switch from execution of a first virtual machine to a second virtual machine. The second processor may be configured to be in communication with the memory and the switch detector. The second processor may be effective to detect the trigger. The second processor may be effective to identify an accelerator and accelerator map for the programmable circuit associated with the second virtual machine. The second processor may be effective to generate a write command to write the accelerator map to the accelerator.
[0005] In some examples, systems effective to reconfigure a programmable circuit are generally described. The systems may include a first processor, a virtual machine manager, a programmable circuit, and a reconfiguration device. The virtual machine manager may be effective to send a command to the first processor to switch from execution of a first virtual machine to a second virtual machine. The virtual machine manager may further be effective to generate a trigger in response to the command. The reconfiguration device may include a memory, a switch detector, and a second processor. The second processor may be effective to detect the trigger. The second processor may be effective to identify the programmable circuit and a map associated with the second virtual machine. The second processor may be effective to generate a write command to write the map to the programmable circuit.
[0006] The foregoing summary is illustrative only and is not intended to be in any way limiting. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features will become apparent by reference to the drawings and the following detailed description.
BRIEF DESCRIPTION OF THE FIGURES
[0007] The foregoing and other features of this disclosure will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered limiting of its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings, in which:
Fig. 1 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching;
Fig. 2 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching; Fig. 3 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching;
Fig. 4 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching;
Fig. 5 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching;
Fig. 6 depicts a flow diagram for an example process for implementing reconfiguration with virtual machine switching;
Fig. 7 illustrates a computer program product that can be utilized to implement reconfiguration with virtual machine switching; and
Fig. 8 is a block diagram illustrating an example computing device that is arranged to implement reconfiguration with virtual machine switching;
all arranged according to at least some embodiments described herein.
DETAILED DESCRIPTION
[0008] In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the Figures, can be arranged, substituted, combined, separated, and designed in a wide variety of different configurations, all of which are explicitly contemplated herein.
[0009] This disclosure is generally drawn, inter alia, to methods, apparatus, systems, devices, and computer program products related to reconfiguration with virtual machine switching.
[0010] Briefly stated, technologies are generally described for systems and methods for reconfiguring a programmable circuit. An accelerator reconfiguration device may detect a trigger. The trigger may indicate that a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine. In response to detecting the trigger, the reconfiguration device may identify a programmable circuit and a program for the programmable circuit associated with the second virtual machine. The reconfiguration device may further generate a write command to write the program to the programmable circuit.
[0011] Fig. 1 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. An example system 100 may include a processor core 108, a programmable circuit such as an accelerator 102, a
programmable circuit such as an accelerator 104, a programmer such as an accelerator programmer 112, a virtual machine manager 120 and/or an accelerator reconfiguration device 116 all arranged in communication with one another.
Accelerator programmer 112 may be a dedicated unit or a general purpose processor. Processor core 108 may include a memory 106 effective to store information that may be used by processor core 108 during operation. Accelerators 102 or 104 may be configured or reconfigured by a map 114 to be operable to execute a particular application or code. In some examples, one or more of processor core 108, reconfigurable accelerators 102, 104, accelerator programmer 112, virtual machine manager 120 and/or an accelerator reconfiguration device 116 may be located on the same die 110. In other examples, one or more of processor core 108, reconfigurable accelerators 102, 104, accelerator programmer 112, virtual machine manager 120 and/or an accelerator reconfiguration device 116 may be located on different dies. Accelerator reconfiguration device 116 may be implemented as software, hardware, or a combination of software and hardware. Accelerator reconfiguration device 116 may be part of virtual machine manager 120. Processor core 108 may be configured to use one or more of reconfigurable accelerator 102, 104 to perform operations or tasks..
[0012] Accelerator programmer 112 may include accelerator maps 114.
Accelerator maps 114 may correspond to one or more programs for reconfigurable accelerators 102, 104. Accelerator maps 114 may include binary data that may be streamed into gates of reconfigurable accelerators. Accelerator programmer 112 may be configured to program reconfigurable accelerators 102, 104 based on accelerator maps 114.
[0013] Accelerator programmer 112 may be configured to program
reconfigurable accelerators 102, 104 based on accelerator maps 114. For example, accelerator maps 114 may be effective to define states of gates or switches in an FPGA (field programmable gate array), EEPROM (electrically erasable
programmable read only memory), of reconfigurable accelerators 102, 104. During operation, processor core 108 may control accelerator programmer 112 to load a requested accelerator map 114 into reconfigurable accelerator 102, 104 based on an execution queue.
[0014] In an example, virtual machine manager 120 may send a command to processor core 108 to implement a first virtual machine. After a period of time, virtual machine manager 120 may send a switch command 142 to processor core 108 to implement a second virtual machine. Virtual machine manager 120 may be, for example, a hypervisor. For example, switch command 142 may be effective to implement a context switch in processor core 120 or a world switch in processor core 120. In a context switch, processor core 108 may stop processing instructions that correspond to the first virtual machine and may start processing instructions that correspond to the second virtual machine. In context switching, a state of processor core 108 may remain unaltered. In some examples, the state of processor core 108 may correspond to the state registers, buffers, caches etc. of processor core 108.
Context switching may be used in situations where resources are shared between operations and those resources modify user memory but not low level system state.
[0015] Virtual machine manager 120 may be used to implement a world switch in situations where a virtual machine being implemented by processor core 108 requests access to low level system states. In world switching, processing states may be captured and saved and then replaced with a saved state of another virtual machine or "world".
[0016] As discussed in more detail below, virtual machine manager 120 may be configured to send switch command 142 to processor core 108. Switch command 142 may be a command to processor core 108 to switch from a first virtual machine to a second virtual machine. Switch command 142 may be, for example, a world switch command or a context switch command For example, information in registers and queues of processor core 108, and information regarding states, and other processor core information may be saved by virtual machine manager 120 and stored in VMM memory 118. Prior information relating to the second virtual machine may be transferred from VMM memory 118 to processor core 108 by virtual machine manager 120. Accelerator reconfiguration device 116 may be configured to detect switch command 142. Accelerator reconfiguration device 116 may further be configured to reconfigure one or more of reconfigurable accelerators 102, 104 in response detecting switch command 142.
[0017] Fig. 2 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 2 that are labeled identically to components of Fig. 1 will not be described again for the purposes of clarity.
[0018] In some examples, in response to a request such as from processor core 108, accelerator programmer 112 may load map 224 to reconfigurable accelerator 102. Accelerator programmer 112 may also load map 226 to
reconfigurable accelerator 104. When accelerator programmer 112 loads maps 224, 226 to reconfigurable accelerators 102, 104, a map copy 228, that includes a copy of map 224 and/or 226, may be sent to accelerator reconfiguration device 116. In examples where virtual machine manager 120 sends switch command 142 to processor core 108, virtual machine manager 120 may also send a trigger 222 to accelerator reconfiguration device 116. Trigger 222 may indicate that virtual machine manager 120 has sent switch command 142 to processor core 108. In response to detecting trigger 222, accelerator reconfiguration device 116 may send a write command 238 to an appropriate reconfigurable accelerator 102, 104. Write command 238 may be a command to write the map in map copy 228 to an applicable reconfigurable accelerator 102, 104. In example examples, write command 238 may be routed through accelerator programmer 112. [0019] Fig. 3 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 3 that are labeled identically to components of Figs. 1 and 2 will not be described again for the purposes of clarity.
[0020] Accelerator reconfiguration device 116 may include a processor 340, a reconfiguration memory 336 and/or a virtual machine switch detector 334.
Reconfiguration memory 336 may be adapted to store active accelerator maps 330 and/or virtual machine to accelerator relationships data 332. In examples where accelerator reconfiguration device 116 receives map copy 228, copies of maps for reconfigurable accelerators 102, 104 may be stored in active accelerator maps 330. Processor 340 may determine an active virtual machine at a time when maps 224, 226 are sent to reconfigurable accelerators 102, 104. In some examples, a program executing within a virtual machine may recognize accelerator maps that are active. Processor 340 may store an association between the active virtual machine and active accelerator maps 224, 226 in virtual machine to accelerator relationships data 332. Virtual machine to accelerator relationships data 332 may include a table identifying relationships between virtual machines, accelerators, and accelerator maps. When reconfigurable accelerators 102, 104 are similar in design (in a homogeneous accelerator configuration), relationships between virtual machines and accelerator maps may be stored. When reconfigurable accelerator 102, 104 are dissimilar in design (in a heterogeneous accelerator configuration), relationships between virtual machines, accelerators and accelerator maps may be stored.
[0021] Virtual machine switch detector 334 may be configured to detect switch command 142 such as by detecting trigger 222. When trigger 222 is detected by virtual machine switch detector 334, processor 340 may identify the particular virtual machine identified in switch command 142. For example, trigger 222 may be a signal sent from virtual machine manager 120 and may identify the particular virtual machine in switch command 142. Processor 340 may then analyze virtual machine to accelerator relationships data 332 to identify a particular reconfigurable accelerator associated with the particular virtual machine. Processor 340 may also identify the particular accelerator map from active accelerator maps 330 associated with the particular virtual machine. Processor 340 may generate write command 238 to write the particular accelerator map to the particular reconfigurable accelerator.
[0022] Active accelerator maps 330 may include a number of accelerator maps for each virtual machine. In the example, two reconfigurable accelerators are shown. If three virtual machines are implemented, 6 active accelerator maps may be stored.
[0023] In examples where accelerator programmer 112 loads maps 224, 226 to reconfigurable accelerator 102, 104, map copy 228 may be sent to accelerator reconfiguration device 116. Map copy 228 may, for example, be provided through a wired copy action. For example, a wire or other communication medium may be used to extract map copy 228 when maps 226224, 226 are loaded to reconfigurable accelerators 102, 104. In another example, when accelerator programmer 112 loads maps 224, 226 to reconfigurable accelerators 102, 104, accelerator programmer 112 may also send map copy 228 to accelerator reconfiguration device 116. In another example, when accelerator programmer 112 loads maps 224, 226 to reconfigurable accelerators 102, 104, processor 340 may capture map copy 228 and store map copy 228 in memory 336.
[0024] When map copy 228 is received by accelerator reconfiguration device
116, processor 340 may identify which virtual machine is under execution by processor core 108. For example, processor 340 may communicate with virtual machine manager 120 and/or processor core 108 to identify the virtual machine under execution. Alternatively, virtual machine manager 120 may send a signal, such as trigger 222, to accelerator reconfiguration device 116 indicating what virtual machine is under execution. Processor 340 may then update virtual machine to accelerator relationships data 332 to associate the virtual machine under execution with the corresponding accelerator and map.
[0025] Trigger 222 may be detected by virtual machine switch detector 334 in a variety of ways. For example, virtual machine manager 120 may generate a specific signal or instruction relating to switch command 142. The signal or instruction may include an indication of which virtual machine is currently under execution on processor core 108. Virtual machine switch detector 334 may be configured to detect the signal or instruction relating to switch command 142.
[0026] In another example, a direct memory access environment may be used to wall off location ranges in memory 106 so that those ranges belong to particular virtual machines and are inaccessible to other virtual machines. Virtual machine to accelerator relationship data 332 may store associations between virtual machines and memory location ranges. Processor 340 may then analyze virtual machine to accelerator relationship data 332 and detect that processor core 108 has switched to executing a different virtual machine based upon memory locations being accessed. For example, a first virtual machine may be associated memory locations 1 through 5 of memory 106. A second virtual machine may be associated with memory locations 6 through 10 in memory 106. Virtual machine to accelerator relationship data 332 may be configured to store indications of a virtual machine, an associated accelerator, a map, and a range of memory locations in memory 106. When processor core 108 accesses a memory location, virtual machine switch detector 334 may compare the accessed memory location to a location range of a current virtual machine. If the accessed memory location is outside of the location range of the current virtual machine, virtual machine switch detector 334 may determine that processor core 108 has switched - effectively detecting trigger 222. Virtual machine switch detector 334 may also identify the new virtual machine based on the accessed memory location. In another example, a virtual machine switch 222 may be detected when core 108 clears caches or pipelines, for example detecting the transfer of state to virtual machine control block areas in memory during virtual machine switching by monitoring a defined memory area used in such transitions.
[0027] In some examples, virtual machines may share one or more cores and/or one virtual machine may extend across more than one core. Virtual machines may also share reconfigurable accelerators. Virtual machine to accelerator relationship data 332 may be adapted to keep track of relationships between virtual machines and reconfigurable accelerators across multiple cores and/or multiple accelerators. [0028] Fig. 4 illustrates an example system that can be utilized to implement accelerator reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 4 that are labeled identically to components of Figs. 1, 2 and 3 will not be described again for the purposes of clarity.
[0029] In an example, virtual machine manager 120 may send a command
444 to processor core 108 to implement a first virtual machine "VM1". In response to command 444, processor core 108 may request that maps 1 and 2 be loaded from accelerator programmer 1 12 to reconfigurable accelerators 102, 104. Accelerator reconfiguration device 116 may detect that maps 224, 226 are being loaded to reconfigurable accelerators 102, 104. Accelerator reconfiguration device 116 may extract map copy 228 and store map copy 228 in active accelerator maps 330.
Processor 340 of accelerator reconfiguration device 116 may further detect that the first virtual machine is active while map 1 and map 2 are written. Processor 340 may store an association between the first virtual machine and maps 1 and 2, for accelerators 1 and 2 respectively, in virtual machine to accelerator relationship data 332. In the example, processor 340 may have also previously stored an association between a second virtual machine ("VM2") and map 3 and map 4, for accelerators 1 and 2 respectively, in virtual machine to accelerator relationship data 332.
[0030] Fig. 5 illustrates an example system that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Those components in Fig. 5 that are labeled identically to components of Figs. 1, 2, 3 and 4 will not be described again for the purposes of clarity.
[0031] Continuing with the example of Fig. 4, virtual machine manager 120 may send a command 546 to processor core 108 to switch to a second virtual machine ("VM2"). As virtual machine manager 120 has switched virtual machines, a trigger 222 may be generated and detected as discussed herein. Virtual machine switch detector 334 may detect trigger 222 and identify that the second virtual machine is now being implemented on processor core 108. Processor 340 may analyze virtual machine to accelerator relationship data 332 and determine that map 3 and map 4 are associated with virtual machine 2 and accelerators 1 and 2. Processor 340 may then send write command 238 to write map 3 to reconfigurable accelerator 102 and map 4 to reconfigurable accelerator 104.
[0032] Among other possible benefits, a system in accordance with the disclosure may be able to allow virtual machines to effectively work with relevant reconfigurable accelerators. Virtual machines may be prevented from working with accelerators associated with, or configured for, other virtual machines.. Security may be improved in that a virtual machine may avoid working with a processor with an accelerator used by a prior virtual machine.
[0033] Fig. 6 depicts a flow diagram for an example process for implementing reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. In some examples, the process in Fig. 6 could be implemented using system 100 discussed above.
[0034] An example process may include one or more operations, actions, or functions as illustrated by one or more of blocks S2, S4, S6, S8, S10, S12 and/or S14. Although illustrated as discrete blocks, various blocks may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the desired implementation.
[0035] Processing may begin at block S2, "Receive a map copy of a source map loaded from a programmer to a programmable circuit." At block S2, a reconfiguration device, such as an accelerator reconfiguration device, may receive a map copy of a source map loaded from a programmer to a programmable circuit.
[0036] Processing may continue from block S2 to block S4, "Store the map copy in a memory." At block S4, the reconfiguration device may store the map copy in a memory.
[0037] Processing may continue from block S4 to block S6, "Upon receipt of the map copy, determine a particular virtual machine being implemented by the processor." At block S6, the reconfiguration device may, upon receipt of the map copy, determine that a particular virtual machine is being implemented by the processor. [0038] Processing may continue from block S6 to block S8, "Store an association of the particular virtual machine, the map copy, and the programmable circuit." At block S8, the reconfiguration device may store an association of the particular virtual machine, the map copy and the accelerator.
[0039] Processing may continue from block S8 to block S10, "Detect a trigger, where the trigger indicates a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine." At block S10, the reconfiguration deice may detect a trigger. The trigger may indicate a command has been sent to a processor for the processor to switch from execution of a first virtual machine to a second virtual machine. The trigger may be, for example, a signal sent by a virtual machine manager. The trigger may include detection that the processor has accessed a memory location associated with the second virtual machine. The trigger may include detection that the processor has cleared a cache or pipeline.
[0040] Processing may continue from block S10 to block S12, "In response to detection of the trigger, select a programmable circuit and program, where the programmable circuit is associated with the second virtual machine." At block S12, the reconfigurable circuit may identify a programmable circuit and program associated with the second virtual machine.
[0041] Processing may continue from block S12 to block S14, "Generate a write command to write the program to the programmable circuit." At block SI 4, the reconfigurable circuit may generate a write command to write the program to the programmable circuit.
[0042] Fig. 7 illustrates an example computer program product 700 that can be utilized to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. Program product 700 may include a signal bearing medium 702. Signal bearing medium 702 may include one or more instructions 704 that, when executed by, for example, a processor, may provide the functionality described above with respect to Figs. 1-6. Thus, for example, referring to system 100, accelerator reconfiguration device 116 may undertake one or more of the blocks shown in Fig. 7 in response to instructions 704 conveyed to the system 100 by medium 702.
[0043] In some implementations, signal bearing medium 702 may encompass a computer-readable medium 706, such as, but not limited to, a hard disk drive, a Compact Disc (CD), a Digital Video Disk (DVD), a digital tape, memory, etc. In some implementations, signal bearing medium 702 may encompass a recordable medium 708, such as, but not limited to, memory, read/write (R/W) CDs, R/W DVDs, etc. In some implementations, signal bearing medium 702 may encompass a communications medium 710, such as, but not limited to, a digital and/or an analog communication medium (e.g., a fiber optic cable, a waveguide, a wired
communications link, a wireless communication link, etc.). Thus, for example, program product 700 may be conveyed to one or more modules of the system 100 by an RF signal bearing medium 702, where the signal bearing medium 702 is conveyed by a wireless communications medium 710 (e.g., a wireless communications medium conforming with the IEEE 802.11 standard).
[0044] Fig. 8 is a block diagram illustrating an example computing device 800 that is arranged to implement reconfiguration with virtual machine switching arranged in accordance with at least some embodiments described herein. In a very basic configuration 802, computing device 800 typically includes one or more processors 804 and a system memory 806. A memory bus 808 may be used for communicating between processor 804 and system memory 806.
[0045] Depending on the desired configuration, processor 804 may be of any type including but not limited to a microprocessor (μΡ), a microcontroller (μθ), a digital signal processor (DSP), or any combination thereof. Processor 804 may include one more levels of caching, such as a level one cache 810 and a level two cache 812, a processor core 814, and registers 816. An example processor core 814 may include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP Core), or any combination thereof. Processor 804 may include a programmable circuit 817 such as reconfigurable accelerators 102 and/or 104. An example memory controller 818 may also be used with processor 804, or in implementations memory controller 818 may be an internal part of processor
[0046] Depending on the desired configuration, system memory 806 may be of any type including but not limited to volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.) or any combination thereof. System memory 806 may include an operating system 820, one or more applications 822, and program data 824. Application 822 may include a reconfiguration with virtual machine algorithm 826 that is arranged to perform the functions as described herein including those described with respect to system 100 of Figs. 1-7. Program data 824 may include reconfiguration with virtual machine switching data 828 that may be useful to implement reconfiguration with virtual machine switching as is described herein. In some embodiments, application 822 may be arranged to operate with program data 824 on operating system 820 such that reconfiguration with virtual machine switching may be provided. This described basic configuration 802 is illustrated in Fig. 8 by those components within the inner dashed line.
[0047] Computing device 800 may have additional features or functionality, and additional interfaces to facilitate communications between basic configuration 802 and any required devices and interfaces. For example, a bus/interface controller 830 may be used to facilitate communications between basic configuration 802 and one or more data storage devices 832 via a storage interface bus 834. Data storage devices 832 may be removable storage devices 836, non-removable storage devices 838, or a combination thereof. Examples of removable storage and non-removable storage devices include magnetic disk devices such as flexible disk drives and hard- disk drives (HDD), optical disk drives such as compact disk (CD) drives or digital versatile disk (DVD) drives, solid state drives (SSD), and tape drives to name a few. Example computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. [0048] System memory 806, removable storage devices 836 and nonremovable storage devices 838 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which may be used to store the desired information and which may be accessed by computing device 800. Any such computer storage media may be part of computing device 800.
[0049] Computing device 800 may also include an interface bus 840 for facilitating communication from various interface devices (e.g., output devices 842, peripheral interfaces 844, and communication devices 846) to basic configuration 802 via bus/interface controller 830. Example output devices 842 include a graphics processing unit 848 and an audio processing unit 850, which may be configured to communicate to various external devices such as a display or speakers via one or more AV ports 852. Example peripheral interfaces 844 include a serial interface controller 854 or a parallel interface controller 856, which may be configured to communicate with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device, etc.) or other peripheral devices (e.g., printer, scanner, etc.) via one or more I/O ports 858. An example communication device 846 includes a network controller 860, which may be arranged to facilitate
communications with one or more other computing devices 862 over a network communication link via one or more communication ports 864.
[0050] The network communication link may be one example of a
communication media. Communication media may typically be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and may include any information delivery media. A "modulated data signal" may be a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation,
communication media may include wired media such as a wired network or direct- wired connection, and wireless media such as acoustic, radio frequency (RF), microwave, infrared (IR) and other wireless media. The term computer readable media as used herein may include both storage media and communication media.
[0051] Computing device 800 may be implemented as a portion of a small- form factor portable (or mobile) electronic device such as a cell phone, a personal data assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset device, an application specific device, or a hybrid device that include any of the above functions. Computing device 800 may also be implemented as a personal computer including both laptop computer and non-laptop computer configurations.
[0052] The present disclosure is not to be limited in terms of the particular embodiments described in this application, which are intended as illustrations of various aspects. Many modifications and variations can be made without departing from its spirit and scope, as will be apparent to those skilled in the art. Functionally equivalent methods and apparatuses within the scope of the disclosure, in addition to those enumerated herein, will be apparent to those skilled in the art from the foregoing descriptions. Such modifications and variations are intended to fall within the scope of the appended claims. The present disclosure is to be limited only by the terms of the appended claims, along with the full scope of equivalents to which such claims are entitled. It is to be understood that this disclosure is not limited to particular methods, reagents, compounds compositions or biological systems, which can, of course, vary. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
[0053] With respect to the use of substantially any plural and/or singular terms herein, those having skill in the art can translate from the plural to the singular and/or from the singular to the plural as is appropriate to the context and/or application. The various singular/plural permutations may be expressly set forth herein for sake of clarity.
[0054] It will be understood by those within the art that, in general, terms used herein, and especially in the appended claims (e.g., bodies of the appended claims) are generally intended as "open" terms (e.g., the term "including" should be interpreted as "including but not limited to," the term "having" should be interpreted as "having at least," the term "includes" should be interpreted as "includes but is not limited to," etc.). It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases "at least one" and "one or more" to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles "a" or "an" limits any particular claim containing such introduced claim recitation to embodiments containing only one such recitation, even when the same claim includes the introductory phrases "one or more" or "at least one" and indefinite articles such as "a" or "an" (e.g., "a" and/or "an" should be interpreted to mean "at least one" or "one or more"); the same holds true for the use of definite articles used to introduce claim recitations. In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should be interpreted to mean at least the recited number (e.g., the bare recitation of "two recitations," without other modifiers, means at least two recitations, or two or more recitations). Furthermore, in those instances where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., " a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). In those instances where a convention analogous to "at least one of A, B, or C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., " a system having at least one of A, B, or C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "A or B" will be understood to include the possibilities of "A" or "B" or "A and B."
[0055] In addition, where features or aspects of the disclosure are described in terms of Markush groups, those skilled in the art will recognize that the disclosure is also thereby described in terms of any individual member or subgroup of members of the Markush group.
[0056] As will be understood by one skilled in the art, for any and all purposes, such as in terms of providing a written description, all ranges disclosed herein also encompass any and all possible subranges and combinations of subranges thereof. Any listed range can be easily recognized as sufficiently describing and enabling the same range being broken down into at least equal halves, thirds, quarters, fifths, tenths, etc. As a non-limiting example, each range discussed herein can be readily broken down into a lower third, middle third and upper third, etc. As will also be understood by one skilled in the art all language such as "up to," "at least," "greater than," "less than," and the like include the number recited and refer to ranges which can be subsequently broken down into subranges as discussed above. Finally, as will be understood by one skilled in the art, a range includes each individual member. Thus, for example, a group having 1-3 cells refers to groups having 1, 2, or 3 cells. Similarly, a group having 1-5 cells refers to groups having 1, 2, 3, 4, or 5 cells, and so forth.
[0057] While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.

Claims

CLAIMS What is claimed:
1. A method of reconfiguring a programmable circuit, the method comprising:
detecting a trigger, where the trigger indicates a command has been sent to a processor to switch from execution of a first virtual machine to a second virtual machine; in response to detecting the trigger, selecting a programmable circuit and a program, where the programmable circuit is associated with the second virtual machine; and
generating a write command to write the program to the programmable circuit.
2. The method of claim 1, further comprising:
receiving the trigger from a virtual machine manager, where the trigger indicates that the virtual machine manager has sent the command to switch from execution of the first virtual machine to the second virtual machine.
3. The method of claim 1, where selecting the programmable circuit and the program further comprises: identifying an accelerator and an accelerator map associated with the second virtual machine.
4. The method of claim 3, further comprising:
receiving an accelerator map copy of a source accelerator map loaded from a programmer to the programmable circuit;
storing the accelerator map copy in a memory.
5. The method of claim 4, wherein generating the write command comprises generating the write command to write the accelerator map copy to the accelerator.
6. The method of claim 3, further comprising: receiving a map copy of a source map loaded from an accelerator programmer to the accelerator;
storing the map copy in a memory;
upon receipt of the map copy, determining a particular virtual machine being implemented on the processor;
storing an association of the particular virtual machine, the map copy, and the accelerator; and
generating the write command using the map copy.
7. The method of claim 1, further comprising detecting the trigger in response to a signal from a virtual machine manager.
8. The method of claim 1, wherein detecting the trigger includes detection that the processor has accessed a memory location associated with the second virtual machine.
9. The method of claim 1, wherein detecting the trigger includes detection that the processor has cleared a cache or pipeline.
10. The method of claim 3, further comprising:
receiving a map copy of a source map loaded from an accelerator programmer to the accelerator;
storing the map copy in a memory;
upon receipt of the map copy, determining a particular virtual machine being implemented by the processor;
storing an association of the particular virtual machine, the map copy, and the accelerator;
generating the write command using the map copy; and
wherein detecting the trigger includes detection that the processor has accessed a memory location associated with the second virtual machine.
11. A device effective to reconfigure a programmable circuit, the device comprising:
a memory;
a switch detector, the switch detector effective to detect a trigger, where the trigger indicates that a command has been sent to a first processor to switch from execution of a first virtual machine to a second virtual machine;
a second processor configured to be in communication with the memory and the switch detector;
the second processor effective to,
detect the trigger;
identify an accelerator and an accelerator map for the programmable circuit associated with the second virtual machine; and
generate a write command to write the accelerator map to the accelerator.
12. The device of claim 11, wherein:
the trigger further indicates that a virtual machine manager has sent the command to switch from execution of the first virtual machine to the second virtual machine.
13. The device of claim 11, wherein the memory includes an association among the second virtual machine, the accelerator and the accelerator map.
14. The device of claim 11, wherein the second processor is further effective to:
receive a map copy of a source map loaded from a programmer to the programmable circuit;
store the map copy in the memory; and
generate the write command based on the map copy.
15. The device of claim 11, wherein the second processor is further effective to: receive a map copy of a source map loaded from an accelerator programmer to the accelerator;
store the map copy in a memory;
upon receipt of the map copy, determine a particular virtual machine being implemented by the first processor;
store an association of the particular virtual machine, the map copy, and the accelerator in the memory; and
generate the write command based on the map copy.
16. The device of claim 11, wherein the switch detector is effective to detect the trigger in response to a signal from a virtual machine manager.
17. The device of claim 11, wherein the switch detector is effective to detect the trigger by detection that a virtual machine manager has accessed a memory location associated with the second virtual machine.
18. The device of claim 11, wherein the switch detector is effective to detect the trigger by detection that the first processor has cleared a cache or pipeline.
19. A system effective to reconfigure a programmable circuit, the system comprising:
a first processor;
a virtual machine manager effective to send a command to the first processor to switch from execution of a first virtual machine to a second virtual machine, the virtual machine manager further effective to generate a trigger in response to the command; a programmable circuit;
a reconfiguration device, where the reconfiguration device includes a memory, a switch detector, and a second processor;
the second processor effective to detect the trigger:
identify the programmable circuit and a map associated with the second virtual machine; and
generate a write command to write the map to the programmable circuit.
20. The system of claim 19, wherein the trigger relates to a world switch of the first processor.
21. The system of claim 19, wherein the programmable circuit is an accelerator and the system further comprises:
an accelerator programmer effective to load a source map to the accelerator; and wherein the second processor is further effective to:
receive a map copy of the source map;
store the map copy in the memory; and
generate the write command based on the map copy.
22. The system of claim 19, wherein the programmable circuit is an accelerator and the system further comprises:
an accelerator programmer effective to load a source map to the accelerator; and wherein the second processor is further effective to:
receive a map copy of the source map;
store the map copy in a memory;
upon receipt of the map copy, determine a particular virtual machine being implemented by the first processor;
store an association of the particular virtual machine, the map copy, and the accelerator in the memory; and
generate the write command based on the map copy.
23. The system of claim 19, wherein the switch detector is effective to detect the trigger by detection that the virtual machine manager has accessed a memory location associated with the second virtual machine.
24. The system of claim 19, wherein the switch detector is effective to detect the trigger in response to a signal from the virtual machine manager.
25. The system of claim 19, wherein the switch detector is effective to detect the trigger in response to detection that the processor has cleared a cache or pipeline.
PCT/US2013/047650 2013-06-25 2013-06-25 Reconfiguration with virtual machine switching WO2014209286A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/US2013/047650 WO2014209286A1 (en) 2013-06-25 2013-06-25 Reconfiguration with virtual machine switching
US14/233,848 US9619265B2 (en) 2013-06-25 2013-06-25 Reconfiguration with virtual machine switching
CN201380077736.2A CN105393218B (en) 2013-06-25 2013-06-25 For the method, equipment and system of configuration programmable circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US2013/047650 WO2014209286A1 (en) 2013-06-25 2013-06-25 Reconfiguration with virtual machine switching

Publications (1)

Publication Number Publication Date
WO2014209286A1 true WO2014209286A1 (en) 2014-12-31

Family

ID=52142430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2013/047650 WO2014209286A1 (en) 2013-06-25 2013-06-25 Reconfiguration with virtual machine switching

Country Status (3)

Country Link
US (1) US9619265B2 (en)
CN (1) CN105393218B (en)
WO (1) WO2014209286A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018148082A1 (en) * 2017-02-10 2018-08-16 Xilinx, Inc. Migrating accelerators between compute systems

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3089035A1 (en) * 2015-04-30 2016-11-02 Virtual Open Systems Virtualization manager for reconfigurable hardware accelerators
US10860357B1 (en) 2017-04-18 2020-12-08 Amazon Technologies, Inc. Secure reconfiguring programmable hardware with host logic comprising a static portion and a reconfigurable portion
US10338592B2 (en) 2017-08-24 2019-07-02 Saudi Arabian Oil Company High accuracy remote coordinate machine
US10776142B1 (en) * 2017-12-13 2020-09-15 Amazon Technologies, Inc. Reconfiguring programmable hardware when a virtual machine is active
CN109039711B (en) * 2018-07-12 2021-01-15 联想(北京)有限公司 Hardware accelerator replacement method and device and server
CN109976876B (en) * 2019-03-20 2021-11-16 联想(北京)有限公司 Accelerator management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132363A1 (en) * 2003-12-16 2005-06-16 Vijay Tewari Method, apparatus and system for optimizing context switching between virtual machines
US20070192765A1 (en) * 2006-02-15 2007-08-16 Fujitsu Limited Virtual machine system
US20130152086A1 (en) * 2011-12-09 2013-06-13 Jung-hyun Yoo Apparatus and method for managing virtual memory

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438737B1 (en) * 2000-02-15 2002-08-20 Intel Corporation Reconfigurable logic for a computer
US7703107B2 (en) 2000-04-06 2010-04-20 Infineon Technologies Ag Virtual machine interface for hardware reconfigurable and software programmable processors
US8020176B2 (en) 2000-04-06 2011-09-13 Infineon Technologies Ag Virtual machine interface for hardware reconfigurable and software programmable processors
US7260794B2 (en) * 2002-12-20 2007-08-21 Quickturn Design Systems, Inc. Logic multiprocessor for FPGA implementation
US9264384B1 (en) 2004-07-22 2016-02-16 Oracle International Corporation Resource virtualization mechanism including virtual host bus adapters
US7383374B2 (en) * 2005-03-31 2008-06-03 Intel Corporation Method and apparatus for managing virtual addresses
CN101383688B (en) * 2007-09-06 2013-12-04 艾优克服务有限公司 Data communication device and method for keeping high availability of data communication device
US8082418B2 (en) 2007-12-17 2011-12-20 Intel Corporation Method and apparatus for coherent device initialization and access
US9058183B2 (en) * 2009-12-29 2015-06-16 Advanced Micro Devices, Inc. Hypervisor isolation of processor cores to enable computing accelerator cores
US8776060B2 (en) * 2010-11-04 2014-07-08 Lsi Corporation Methods and structure for near-live reprogramming of firmware in storage systems using a hypervisor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132363A1 (en) * 2003-12-16 2005-06-16 Vijay Tewari Method, apparatus and system for optimizing context switching between virtual machines
US20070192765A1 (en) * 2006-02-15 2007-08-16 Fujitsu Limited Virtual machine system
US20130152086A1 (en) * 2011-12-09 2013-06-13 Jung-hyun Yoo Apparatus and method for managing virtual memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018148082A1 (en) * 2017-02-10 2018-08-16 Xilinx, Inc. Migrating accelerators between compute systems
US10740146B2 (en) 2017-02-10 2020-08-11 Xilinx, Inc. Migrating virtual machines between compute systems by transmitting programmable logic accelerator state

Also Published As

Publication number Publication date
CN105393218B (en) 2019-03-01
US20150205629A1 (en) 2015-07-23
CN105393218A (en) 2016-03-09
US9619265B2 (en) 2017-04-11

Similar Documents

Publication Publication Date Title
US9619265B2 (en) Reconfiguration with virtual machine switching
US9479472B2 (en) Local message queue processing for co-located workers
US8839238B2 (en) Dynamic virtual machine shutdown without service interruptions
US9792062B2 (en) Acceleration of memory access
US9529615B2 (en) Virtual device emulation via hypervisor shared memory
US9201823B2 (en) Pessimistic interrupt affinity for devices
US9483318B2 (en) Distributed procedure execution in multi-core processors
US20150177811A1 (en) Power management for in-memory computer systems
WO2017112149A1 (en) Thread and/or virtual machine scheduling for cores with diverse capabilities
US9003094B2 (en) Optimistic interrupt affinity for devices
US9311153B2 (en) Core affinity bitmask translation
EP2936317A1 (en) In-place change between transient and persistent state for data structures in non-volatile memory
US10409350B2 (en) Instruction optimization using voltage-based functional performance variation
US9898307B2 (en) Starting application processors of a virtual machine
WO2015009288A1 (en) Processor identification for virtual machines
WO2017160427A1 (en) Wireless component state based power management
WO2013191673A1 (en) Virtual machine migration in a cloud fabric
US9710303B2 (en) Shared cache data movement in thread migration
US9766917B2 (en) Limited virtual device polling based on virtual CPU pre-emption
US9298502B2 (en) Pausing virtual machines using API signaling
US8868800B2 (en) Accelerator buffer access
US20160162318A1 (en) Virtual machine exit analyzer

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380077736.2

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 14233848

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13887785

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13887785

Country of ref document: EP

Kind code of ref document: A1